subcategory |
---|
Resources |
This resource allows you to create/update/delete ssh key.
resource "centrify_sshkey" "test_key" {
name = "Test Key"
description = "Test RSA key"
private_key = file("rsa.key")
passphrase = ""
}
More examples can be found here
name
- (String) Name of the SSH Key.
description
- (String) Description of the SSH Keychallenge_rule
- (Block List) Authentication rules. Refer to challenge_rule attribute for details.default_profile_id
- (String) Default SSH Key Challenge Profile ID (used if no conditions matched).private_key
- (String, Sensitive) SSH private key.passphrase
- (String, Sensitive) Passphrase to use for encrypting the PrivateKey.permission
- (Block Set) Domain permissions. Refer to permission attribute for details.sets
(Set of String) List of Set IDs the resource belongs to. Refer to sets attribute for details.
SSH Key can be imported using the resource id
, e.g.
terraform import centrify_sshkey.example xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Limitation: permission
and set
aren't supported in import process.