Code Monkey home page Code Monkey logo

Comments (9)

sgnn7 avatar sgnn7 commented on August 30, 2024

@whip113 Can you provide more details about how to recreate this bug? I have attempted to recreate this and was unable to do so locally.

from summon.

sgnn7 avatar sgnn7 commented on August 30, 2024

@whip113 I will close this issue since I have not heard back from you but feel free to ping me if this is an issue in the latest releases.

from summon.

mdzieciol avatar mdzieciol commented on August 30, 2024

I have the same problem.

PS C:\Users\marcin.dzieciol> C:\Users\marcin.dzieciol\Downloads\summon.exe --yaml 'pass: !var pass' .\pass.ps1
Error fetching variable pass: exec: "C:\\Program Files/Cyberark Conjur/Summon/Providers/conjur": file does not exist

in this example I've tried to use second option from this document
https://github.com/cyberark/summon/blob/master/provider/README.md
Defining path as a user environment variable.
I think the problem is combining backslashes and slashes in one path.

when I'm trying to provide provider path i have this result:

PS C:\Users\marcin.dzieciol> C:\Users\marcin.dzieciol\Downloads\summon.exe -p "C:\Program Files\Cyberark Conjur\Summon\Providers\conjur" --yaml 'pass: !var pass' .\pass.ps1
CreateFile C:\Program Files/Cyberark Conjur/Summon/Providers/C:\Program Files\Cyberark Conjur\Summon\Providers\conjur: The filename, directory name, or volume label syntax is incorrect.

it doesn't make sense, could you please fix this. For now version on windows is not usable.

from summon.

sgnn7 avatar sgnn7 commented on August 30, 2024

@mdzieciol I think in theory should work fine.
Can you:

  • Provide the dir listing of your C:\Program Files\Cyberark Conjur\Summon\Providers directory?
  • Check that the provider filename ends in .exe extension?
  • Check that the permissions on the provider file are correct? (what happens when you run conjur directly?)

from summon.

sgnn7 avatar sgnn7 commented on August 30, 2024

Can you also make sure that Windows isn't preventing you from running this file? You may need to escape the spaces though and I am not on a Windows machine right now but try:

dir "C:\Program Files\Cyberark Conjur\Summon\Providers" -Recurse | Unblock-File

from summon.

mdzieciol avatar mdzieciol commented on August 30, 2024
PS C:\Users\marcin.dzieciol\Downloads> dir "C:\Program Files\Cyberark Conjur\Summon\Providers"


    Directory: C:\Program Files\Cyberark Conjur\Summon\Providers


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        3/31/2020  10:20 PM            259 conjur

But why it should be .exe extension. In this file I have configuration for Conjur. If this should be an exe, where I find it to download? And how to provide environment variables like URL, user, api-key etc.?

  1. the same as 2nd answer. To be honest, in readme I didn't find any information how to configure windows version. I think I did something wrong if you asking me for exe file.

from summon.

mdzieciol avatar mdzieciol commented on August 30, 2024

ah ok, I found it.
Can you tell me, how to provide variables?
I have this error:
'''
Failed creating a Conjur client: Must specify an ApplianceURL -- Must specify an Account
'''

from summon.

whip113 avatar whip113 commented on August 30, 2024

@mdzieciol, could I ask you to post this question over on https://discuss.cyberarkcommons.org/ please? There is a broader audience there then in a closed Github issue and the community will benefit from the discussion.

from summon.

izgeri avatar izgeri commented on August 30, 2024

I've opened a new issue for @mdzieciol's issues in #167 - let's have any further conversation there.

from summon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.