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
Credential configuration data for the new keychain entry.
KeychainCredentialCreateSSHKeyPairEntry
Type: objectNo Additional Properties
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constKeychain credential type identifier for SSH key pairs.
Must be one of:
- "SSH_KEY_PAIR"
"SSH_KEY_PAIR"
Attributes
Type: objectSSH key pair attributes including public and private keys.
No Additional PropertiesPrivate Key
Default: nullSSH private key in OpenSSH format. null
if only public key is provided.
Public 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: constKeychain credential type identifier for SSH connection credentials.
Must be one of:
- "SSH_CREDENTIALS"
"SSH_CREDENTIALS"
Attributes
Type: objectSSH connection attributes including host, authentication, and connection settings.
No Additional PropertiesHost
Type: stringSSH server hostname or IP address.
Port
Type: integer Default: 22SSH server port number.
Username
Type: string Default: "root"SSH username for authentication.
Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Connection timeout in seconds for SSH connections.
Result
The newly created keychain credential entry.
SSHKeyPairEntry
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for this keychain credential.
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constKeychain credential type identifier for SSH key pairs.
Must be one of:
- "SSH_KEY_PAIR"
"SSH_KEY_PAIR"
Attributes
Type: objectSSH key pair attributes including public and private keys.
No Additional PropertiesPrivate Key
Default: nullSSH private key in OpenSSH format. null
if only public key is provided.
Public Key
Default: nullCan be omitted and automatically derived from the private key.
SSHCredentialsEntry
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for this keychain credential.
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constKeychain credential type identifier for SSH connection credentials.
Must be one of:
- "SSH_CREDENTIALS"
"SSH_CREDENTIALS"
Attributes
Type: objectSSH connection attributes including host, authentication, and connection settings.
No Additional PropertiesHost
Type: stringSSH server hostname or IP address.
Port
Type: integer Default: 22SSH server port number.
Username
Type: string Default: "root"SSH username for authentication.
Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Connection timeout in seconds for SSH connections.
Required roles: KEYCHAIN_CREDENTIAL_WRITE