Skip to content

How do permissions work, to create secrets? #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alphex opened this issue May 27, 2025 · 3 comments
Open

How do permissions work, to create secrets? #75

alphex opened this issue May 27, 2025 · 3 comments

Comments

@alphex
Copy link

alphex commented May 27, 2025

I am working on another ORG's site.
Where I am NOT the ORG owner, or a member of the ORG.

terminus secret:site:set site-name key_name key123xxx321

Is returning the error

Too many arguments to "secret:site:set" command, expected arguments "siteenv" "name" "value".

Which... I THINK I've got written correctly. But its not working.

But the only thing I can think of is that I am not a member of the ORG, just assigned to the site.

does the terminus secret:site:set command NOT work if you aren't in the ORG?

Thanks.

@stevector
Copy link

@kporras07, since you have the most recent commit in this repo (and it was related to orgs!) I'm guessing you might know?

@kporras07
Copy link
Collaborator

@alphex 👋

Could you share more details of the command you are trying to run? Are all the arguments literals or are you using variables to provide some of them? Any chance there is a space in one of the arguments?

Yes, your command looks ok to me and it doesn't look to me like a permissions issue; actually, I don't think it ever gets to the API but it's Terminus itself which si failing to process your command arguments.

@alphex
Copy link
Author

alphex commented May 29, 2025

@kporras07

I'll do some more digging...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants