-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add galasactl secrets set command (#302)
* feat: Add galasactl secrets delete command Signed-off-by: Eamonn Mansour <[email protected]> * feat: Add galasactl secrets get command and formatters Signed-off-by: Eamonn Mansour <[email protected]> * feat: Add galasactl secrets set command Signed-off-by: Eamonn Mansour <[email protected]> * fix: Remove duplicate console output Signed-off-by: Eamonn Mansour <[email protected]> * docs: Add secrets commands to README Signed-off-by: Eamonn Mansour <[email protected]> * feat: Add description flag and validation to secrets Signed-off-by: Eamonn Mansour <[email protected]> * feat: Add last updated headers to secret summary output Signed-off-by: Eamonn Mansour <[email protected]> * fix: Allow secrets set to update description only Signed-off-by: Eamonn Mansour <[email protected]> * Empty commit to kick off build Signed-off-by: Eamonn Mansour <[email protected]> * fix: Move description to the last column in secrets get Signed-off-by: Eamonn Mansour <[email protected]> * chore: Update secrets baseline Signed-off-by: Eamonn Mansour <[email protected]> --------- Signed-off-by: Eamonn Mansour <[email protected]>
- Loading branch information
Showing
18 changed files
with
1,976 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## galasactl secrets set | ||
|
||
Creates or updates a secret in the credentials store | ||
|
||
### Synopsis | ||
|
||
Creates or updates a secret in the credentials store | ||
|
||
``` | ||
galasactl secrets set [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--base64-password string a base64-encoded password to set into a secret | ||
--base64-token string a base64-encoded token to set into a secret | ||
--base64-username string a base64-encoded username to set into a secret | ||
--description string the description to associate with the secret being created or updated | ||
-h, --help Displays the options for the 'secrets set' command. | ||
--name string A mandatory flag that identifies the secret to be created or manipulated. | ||
--password string a password to set into a secret | ||
--token string a token to set into a secret | ||
--type string the desired secret type to convert an existing secret into. Supported types are: [UsernamePassword Username UsernameToken Token]. | ||
--username string a username to set into a secret | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-b, --bootstrap string Bootstrap URL. Should start with 'http://' or 'file://'. If it starts with neither, it is assumed to be a fully-qualified path. If missing, it defaults to use the 'bootstrap.properties' file in your GALASA_HOME. Example: http://example.com/bootstrap, file:///user/myuserid/.galasa/bootstrap.properties , file://C:/Users/myuserid/.galasa/bootstrap.properties | ||
--galasahome string Path to a folder where Galasa will read and write files and configuration settings. The default is '${HOME}/.galasa'. This overrides the GALASA_HOME environment variable which may be set instead. | ||
-l, --log string File to which log information will be sent. Any folder referred to must exist. An existing file will be overwritten. Specify "-" to log to stderr. Defaults to not logging. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [galasactl secrets](galasactl_secrets.md) - Manage secrets stored in the Galasa service's credentials store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.