keychaincredential.create¶
Create a Keychain Credential.
The following type`s are supported: * `SSH_KEY_PAIR * SSH_CREDENTIALS
No Additional Items
Tuple Validation
Parameter 1: keychain_credential_create
keychain_credential_create
KeychainCredentialCreateSSHKeyPairEntry
Type: objectNo Additional Properties
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constMust be one of:
- "SSH_KEY_PAIR"
"SSH_KEY_PAIR"
Attributes
Type: objectAt least one of the two keys must be provided on creation.
No Additional PropertiesPrivate Key
Default: nullPublic Key
Default: nullCan be omitted and automatically derived from the private key.
KeychainCredentialCreateSSHCredentialsEntry
Type: objectNo Additional Properties
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constMust be one of:
- "SSH_CREDENTIALS"
"SSH_CREDENTIALS"
Attributes
Type: objectNo Additional Properties
Host
Type: stringPort
Type: integer Default: 22Username
Type: string Default: "root"Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Result
SSHKeyPairEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constMust be one of:
- "SSH_KEY_PAIR"
"SSH_KEY_PAIR"
Attributes
Type: objectAt least one of the two keys must be provided on creation.
No Additional PropertiesPrivate Key
Default: nullPublic Key
Default: nullCan be omitted and automatically derived from the private key.
SSHCredentialsEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constMust be one of:
- "SSH_CREDENTIALS"
"SSH_CREDENTIALS"
Attributes
Type: objectNo Additional Properties
Host
Type: stringPort
Type: integer Default: 22Username
Type: string Default: "root"Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Required roles: KEYCHAIN_CREDENTIAL_WRITE