-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat!: store all 1password secrets in a single entry #1954
Conversation
I don't plan on merging this in yet until I have more PRs ready that will help transition existing projects |
17a2306
to
acc10b5
Compare
@@ -28,21 +29,25 @@ func (o OnePasswordProvider) Delete(ctx context.Context, ref Ref) error { | |||
return nil | |||
} | |||
|
|||
func (o OnePasswordProvider) itemName() string { | |||
return o.ProjectName + ".secrets" |
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.
Does this need the "ftl." +
prefix, or does that get added somewhere else?
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 moved away from the ftl.
prefix, but i hadn't updated the documentation. good catch!
assert.Error(t, err) | ||
|
||
var pw1 = []byte("hunter1") | ||
var pw2 = []byte(`{ | ||
"user": "root", | ||
"password": "hunter🪤" | ||
"password": "hun\\ter🪤" |
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.
hehehe nice!
acc10b5
to
a2ce3e0
Compare
closes #1947
closes #1772
Creates an entry in 1Password called
<projectname>.secrets
with each secret stored in a password field called<modulename>.<secretname>
Username is set to a warning string as that is presented at the top of the 1Password UI.
This will break existing secrets stored in 1Password. Migration can be done using commands made available in: #1982