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 --user flag to "secrets" and "envs"#92

Merged
cmoog merged 1 commit intomasterfromuser-flag
Aug 12, 2020
Merged

Add --user flag to "secrets" and "envs"#92

cmoog merged 1 commit intomasterfromuser-flag
Aug 12, 2020

Conversation

cmoog
Copy link
Contributor

@cmoogcmoog commentedAug 4, 2020
edited
Loading

Samples

Setting a secret value for all users. Of course, were the admin to want a different value for each user, they would need to have some additional way of correlating the email to a secret prior to creating the Coder secret.

#!/bin/bash# get all user emailsemails=$(coder users ls --output json| jq -c -r'.[] | .email')foruserin$emailsdo# create a secret for that usercoder secrets --user$user create mysql-password --from-literal password123done

Closes#76

Base automatically changed fromurfave tomasterAugust 10, 2020 21:42
@cmoogcmoog marked this pull request as ready for reviewAugust 10, 2020 23:04
@cmoogcmoog merged commite3efdad intomasterAug 12, 2020
@cmoogcmoog deleted the user-flag branchAugust 12, 2020 17:42
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather 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.

Create foundation for performing bulk actions
2 participants
@cmoog@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp