Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Add secrets ls, add, view, rm commands#81

Merged
cmoog merged 2 commits intomasterfromsecrets
Jul 30, 2020
Merged

Add secrets ls, add, view, rm commands#81

cmoog merged 2 commits intomasterfromsecrets
Jul 30, 2020

Conversation

cmoog
Copy link
Contributor

@cmoogcmoog commentedJul 30, 2020
edited
Loading

Usage: coder secrets [subcommand]interact with secretsCommands:        ls      list all secrets        view    view a secret        create  insert a new secret        rm      remove a secret
bash-3.2$ coder secrets create --name mysql-password --value 123bash-3.2$ coder secrets lsID                                  Name             Value    Description   CreatedAt                              UpdatedAt                              5f22365f-d7fd0f424e93930a9f8b9df1   mysql-password   ******                 2020-07-30 02:54:23.424945 +0000 UTC   2020-07-30 02:54:23.424945 +0000 UTC   bash-3.2$ coder secrets view mysql-password123bash-3.2$ coder secrets rm mysql-password2020-07-29 21:54:43 INFO        Successfully deleted secret "mysql-password"bash-3.2$ coder secrets ls2020-07-29 21:54:47 INFO        No secrets found

cc@wbobeirne@exvuma

@cmoogcmoogforce-pushed thesecrets branch 5 times, most recently from9e655eb tob7741f1CompareJuly 30, 2020 13:22
@cmoogcmoog requested a review fromscsmithrJuly 30, 2020 13:25
Copy link
Contributor

@scsmithrscsmithr left a comment

Choose a reason for hiding this comment

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

This works great for me. And I really like the direction the integration tests are going.

cmoog reacted with hooray emoji
@@ -0,0 +1,34 @@
package xtabwriter
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a great addition.

cmoog reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Just wait till we get a struct tag in there

typeUserstruct {IDstring`human:"hide"`}

@cmoogcmoog merged commit3d90829 intomasterJul 30, 2020
@cmoogcmoog deleted the secrets branchJuly 30, 2020 17:54
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@scsmithrscsmithrscsmithr approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@cmoog@scsmithr

[8]ページ先頭

©2009-2025 Movatter.jp