Skip to content

RD-6061 Provide get, update and delete commands for Secrets Providers#1448

Merged
3 commits merged intomasterfrom
RD-6061-secrets-provider
Nov 15, 2022
Merged

RD-6061 Provide get, update and delete commands for Secrets Providers#1448
3 commits merged intomasterfrom
RD-6061-secrets-provider

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Nov 14, 2022

No description provided.

Comment thread cloudify_cli/commands/secrets.py Outdated

@providers.command(
name='update',
short_help='Update a already exists secrets provider',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
short_help='Update a already exists secrets provider',
short_help='Update an existing secrets provider',

Comment thread cloudify_cli/cli/cfy.py Outdated
@staticmethod
def connection_parameters(required=True, _help=None, default=None):
args = [
'--connection_parameters',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh maybe let's make this --connection-parameters? underscores in arguments are a bit weird i think

Comment thread cloudify_cli/commands/secrets.py Outdated
name='update',
short_help='Update a already exists secrets provider',
)
@cfy.options.secret_provider_name
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think .secret_provider_name doesn't exist? :)

Anyway, I think it'd be better to have the name (in update and in delete) be an argument rather than a flag, ie. @cfy.argument('secret-provider-name').
So that it's cfy sec prov del provider1 rather than cfy sec prov del --name provider1

@ghost ghost requested a review from tehasdf November 15, 2022 10:15
tehasdf
tehasdf previously approved these changes Nov 15, 2022
The other one was actually `Last-Modified: Mon, 19 Sep 2022 12:26:00 GMT`
This is the proper URL now, and I'm gonna hardcode x86_64 (ie. no
aarch support here), because this already hardcodes amd64 in the
control file.
@ghost ghost merged commit 47381ce into master Nov 15, 2022
@ghost ghost deleted the RD-6061-secrets-provider branch November 15, 2022 11:04
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant