-
Notifications
You must be signed in to change notification settings - Fork 15
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
Create Key #468
Create Key #468
Conversation
37aef98
to
c010034
Compare
c010034
to
05c286e
Compare
d1c7ecb
to
b10cc1e
Compare
`Invalid ttl '${argv.ttl}'. Provide as an ISO 8601 date time string.`, | ||
); | ||
} | ||
if (argv.database === undefined && argv.secret === undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we have a validation helper that does this already. I think it's called validateDatabaseOrSecret
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had to add this bc of tweaks i made in this command big dog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you odon't have this it asks you to login, which is insufficient.
d84e9db
to
9a47c6f
Compare
Ticket(s): FE-6128
Problem
Creating a key is needed for the CLI. It is also needed to establish a --local pattern that works for many commands.
Solution
In this PR do a basic create key implementation that uses the account API.
Result
We got it started.
Testing
Ran the full suite.