feat(credentials): Add PasswordAttributes credential type (#6110)
This commit is contained in:
1 parent
d0050ad881
commit
5cf33fa8b3
5 files changed
+146
-37
No files matched your search
@@ -83,6 +83,8 @@ const (
|
||||
// UsernamePasswordCredentialPreviousPrefix is the previous prefix for
|
||||
// username/password creds
|
||||
UsernamePasswordCredentialPreviousPrefix = "cred"
|
||||
// PasswordCredentialPrefix is the prefix for password creds
|
||||
PasswordCredentialPrefix = "credp"
|
||||
// SshPrivateKeyCredentialPrefix is the prefix for SSH private key creds
|
||||
SshPrivateKeyCredentialPrefix = "credspk"
|
||||
// JsonCredentialPrefix is the prefix for generic JSON creds
|
||||
@@ -266,6 +268,10 @@ var prefixToResourceType = map[string]ResourceInfo{
|
||||
Type: resource.Credential,
|
||||
Subtype: UnknownSubtype,
|
||||
},
|
||||
PasswordCredentialPrefix: {
|
||||
Type: resource.Credential,
|
||||
Subtype: UnknownSubtype,
|
||||
},
|
||||
SshPrivateKeyCredentialPrefix: {
|
||||
Type: resource.Credential,
|
||||
Subtype: UnknownSubtype,
|
||||
|
||||
Reference in new issue
Block a user