akeyless.ClassicKey
Explore with Pulumi AI
Classic Key resource
Create ClassicKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClassicKey(name: string, args: ClassicKeyArgs, opts?: CustomResourceOptions);
@overload
def ClassicKey(resource_name: str,
args: ClassicKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClassicKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
alg: Optional[str] = None,
auto_rotate: Optional[str] = None,
cert_file_data: Optional[str] = None,
certificate_common_name: Optional[str] = None,
certificate_country: Optional[str] = None,
certificate_format: Optional[str] = None,
certificate_locality: Optional[str] = None,
certificate_organization: Optional[str] = None,
certificate_province: Optional[str] = None,
certificate_ttl: Optional[float] = None,
classic_key_id: Optional[str] = None,
conf_file_data: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
expiration_event_ins: Optional[Sequence[str]] = None,
generate_self_signed_certificate: Optional[bool] = None,
gpg_alg: Optional[str] = None,
key_data: Optional[str] = None,
name: Optional[str] = None,
protection_key_name: Optional[str] = None,
rotation_event_ins: Optional[Sequence[str]] = None,
rotation_interval: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewClassicKey(ctx *Context, name string, args ClassicKeyArgs, opts ...ResourceOption) (*ClassicKey, error)
public ClassicKey(string name, ClassicKeyArgs args, CustomResourceOptions? opts = null)
public ClassicKey(String name, ClassicKeyArgs args)
public ClassicKey(String name, ClassicKeyArgs args, CustomResourceOptions options)
type: akeyless:ClassicKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClassicKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClassicKeyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClassicKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClassicKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClassicKeyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var classicKeyResource = new Akeyless.ClassicKey("classicKeyResource", new()
{
Alg = "string",
AutoRotate = "string",
CertFileData = "string",
CertificateCommonName = "string",
CertificateCountry = "string",
CertificateFormat = "string",
CertificateLocality = "string",
CertificateOrganization = "string",
CertificateProvince = "string",
CertificateTtl = 0,
ClassicKeyId = "string",
ConfFileData = "string",
DeleteProtection = "string",
Description = "string",
ExpirationEventIns = new[]
{
"string",
},
GenerateSelfSignedCertificate = false,
GpgAlg = "string",
KeyData = "string",
Name = "string",
ProtectionKeyName = "string",
RotationEventIns = new[]
{
"string",
},
RotationInterval = "string",
Tags = new[]
{
"string",
},
});
example, err := akeyless.NewClassicKey(ctx, "classicKeyResource", &akeyless.ClassicKeyArgs{
Alg: pulumi.String("string"),
AutoRotate: pulumi.String("string"),
CertFileData: pulumi.String("string"),
CertificateCommonName: pulumi.String("string"),
CertificateCountry: pulumi.String("string"),
CertificateFormat: pulumi.String("string"),
CertificateLocality: pulumi.String("string"),
CertificateOrganization: pulumi.String("string"),
CertificateProvince: pulumi.String("string"),
CertificateTtl: pulumi.Float64(0),
ClassicKeyId: pulumi.String("string"),
ConfFileData: pulumi.String("string"),
DeleteProtection: pulumi.String("string"),
Description: pulumi.String("string"),
ExpirationEventIns: pulumi.StringArray{
pulumi.String("string"),
},
GenerateSelfSignedCertificate: pulumi.Bool(false),
GpgAlg: pulumi.String("string"),
KeyData: pulumi.String("string"),
Name: pulumi.String("string"),
ProtectionKeyName: pulumi.String("string"),
RotationEventIns: pulumi.StringArray{
pulumi.String("string"),
},
RotationInterval: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var classicKeyResource = new ClassicKey("classicKeyResource", ClassicKeyArgs.builder()
.alg("string")
.autoRotate("string")
.certFileData("string")
.certificateCommonName("string")
.certificateCountry("string")
.certificateFormat("string")
.certificateLocality("string")
.certificateOrganization("string")
.certificateProvince("string")
.certificateTtl(0)
.classicKeyId("string")
.confFileData("string")
.deleteProtection("string")
.description("string")
.expirationEventIns("string")
.generateSelfSignedCertificate(false)
.gpgAlg("string")
.keyData("string")
.name("string")
.protectionKeyName("string")
.rotationEventIns("string")
.rotationInterval("string")
.tags("string")
.build());
classic_key_resource = akeyless.ClassicKey("classicKeyResource",
alg="string",
auto_rotate="string",
cert_file_data="string",
certificate_common_name="string",
certificate_country="string",
certificate_format="string",
certificate_locality="string",
certificate_organization="string",
certificate_province="string",
certificate_ttl=0,
classic_key_id="string",
conf_file_data="string",
delete_protection="string",
description="string",
expiration_event_ins=["string"],
generate_self_signed_certificate=False,
gpg_alg="string",
key_data="string",
name="string",
protection_key_name="string",
rotation_event_ins=["string"],
rotation_interval="string",
tags=["string"])
const classicKeyResource = new akeyless.ClassicKey("classicKeyResource", {
alg: "string",
autoRotate: "string",
certFileData: "string",
certificateCommonName: "string",
certificateCountry: "string",
certificateFormat: "string",
certificateLocality: "string",
certificateOrganization: "string",
certificateProvince: "string",
certificateTtl: 0,
classicKeyId: "string",
confFileData: "string",
deleteProtection: "string",
description: "string",
expirationEventIns: ["string"],
generateSelfSignedCertificate: false,
gpgAlg: "string",
keyData: "string",
name: "string",
protectionKeyName: "string",
rotationEventIns: ["string"],
rotationInterval: "string",
tags: ["string"],
});
type: akeyless:ClassicKey
properties:
alg: string
autoRotate: string
certFileData: string
certificateCommonName: string
certificateCountry: string
certificateFormat: string
certificateLocality: string
certificateOrganization: string
certificateProvince: string
certificateTtl: 0
classicKeyId: string
confFileData: string
deleteProtection: string
description: string
expirationEventIns:
- string
generateSelfSignedCertificate: false
gpgAlg: string
keyData: string
name: string
protectionKeyName: string
rotationEventIns:
- string
rotationInterval: string
tags:
- string
ClassicKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ClassicKey resource accepts the following input properties:
- Alg string
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- Cert
File stringData - PEM Certificate in a Base64 format.
- Certificate
Common stringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Country string - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Format string - The format of the returned certificate [pem/der]
- Certificate
Locality string - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Organization string - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Province string - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Ttl double - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- Classic
Key stringId - The ID of this resource.
- Conf
File stringData - The csr config data in base64 encoding
- Delete
Protection string - Protection from accidental deletion of this object, [true/false]
- Description string
- Description of the object
- Expiration
Event List<string>Ins - How many days before the expiration of the certificate would you like to be notified.
- Generate
Self boolSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- Gpg
Alg string - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- Key
Data string - Base64-encoded classic key value provided by user
- Name string
- Classic key name
- Protection
Key stringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Rotation
Event List<string>Ins - How many days before the rotation of the item would you like to be notified.
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365)
- List<string>
- List of the tags attached to this key
- Alg string
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- Cert
File stringData - PEM Certificate in a Base64 format.
- Certificate
Common stringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Country string - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Format string - The format of the returned certificate [pem/der]
- Certificate
Locality string - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Organization string - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Province string - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Ttl float64 - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- Classic
Key stringId - The ID of this resource.
- Conf
File stringData - The csr config data in base64 encoding
- Delete
Protection string - Protection from accidental deletion of this object, [true/false]
- Description string
- Description of the object
- Expiration
Event []stringIns - How many days before the expiration of the certificate would you like to be notified.
- Generate
Self boolSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- Gpg
Alg string - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- Key
Data string - Base64-encoded classic key value provided by user
- Name string
- Classic key name
- Protection
Key stringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Rotation
Event []stringIns - How many days before the rotation of the item would you like to be notified.
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365)
- []string
- List of the tags attached to this key
- alg String
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert
File StringData - PEM Certificate in a Base64 format.
- certificate
Common StringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Country String - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Format String - The format of the returned certificate [pem/der]
- certificate
Locality String - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Organization String - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Province String - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Ttl Double - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic
Key StringId - The ID of this resource.
- conf
File StringData - The csr config data in base64 encoding
- delete
Protection String - Protection from accidental deletion of this object, [true/false]
- description String
- Description of the object
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified.
- generate
Self BooleanSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg
Alg String - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key
Data String - Base64-encoded classic key value provided by user
- name String
- Classic key name
- protection
Key StringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation
Event List<String>Ins - How many days before the rotation of the item would you like to be notified.
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365)
- List<String>
- List of the tags attached to this key
- alg string
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert
File stringData - PEM Certificate in a Base64 format.
- certificate
Common stringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Country string - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Format string - The format of the returned certificate [pem/der]
- certificate
Locality string - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Organization string - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Province string - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Ttl number - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic
Key stringId - The ID of this resource.
- conf
File stringData - The csr config data in base64 encoding
- delete
Protection string - Protection from accidental deletion of this object, [true/false]
- description string
- Description of the object
- expiration
Event string[]Ins - How many days before the expiration of the certificate would you like to be notified.
- generate
Self booleanSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg
Alg string - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key
Data string - Base64-encoded classic key value provided by user
- name string
- Classic key name
- protection
Key stringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation
Event string[]Ins - How many days before the rotation of the item would you like to be notified.
- rotation
Interval string - The number of days to wait between every automatic rotation (1-365)
- string[]
- List of the tags attached to this key
- alg str
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto_
rotate str - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert_
file_ strdata - PEM Certificate in a Base64 format.
- certificate_
common_ strname - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
country str - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
format str - The format of the returned certificate [pem/der]
- certificate_
locality str - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
organization str - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
province str - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
ttl float - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic_
key_ strid - The ID of this resource.
- conf_
file_ strdata - The csr config data in base64 encoding
- delete_
protection str - Protection from accidental deletion of this object, [true/false]
- description str
- Description of the object
- expiration_
event_ Sequence[str]ins - How many days before the expiration of the certificate would you like to be notified.
- generate_
self_ boolsigned_ certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg_
alg str - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key_
data str - Base64-encoded classic key value provided by user
- name str
- Classic key name
- protection_
key_ strname - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation_
event_ Sequence[str]ins - How many days before the rotation of the item would you like to be notified.
- rotation_
interval str - The number of days to wait between every automatic rotation (1-365)
- Sequence[str]
- List of the tags attached to this key
- alg String
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert
File StringData - PEM Certificate in a Base64 format.
- certificate
Common StringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Country String - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Format String - The format of the returned certificate [pem/der]
- certificate
Locality String - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Organization String - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Province String - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Ttl Number - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic
Key StringId - The ID of this resource.
- conf
File StringData - The csr config data in base64 encoding
- delete
Protection String - Protection from accidental deletion of this object, [true/false]
- description String
- Description of the object
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified.
- generate
Self BooleanSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg
Alg String - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key
Data String - Base64-encoded classic key value provided by user
- name String
- Classic key name
- protection
Key StringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation
Event List<String>Ins - How many days before the rotation of the item would you like to be notified.
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365)
- List<String>
- List of the tags attached to this key
Outputs
All input properties are implicitly available as output properties. Additionally, the ClassicKey resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ClassicKey Resource
Get an existing ClassicKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ClassicKeyState, opts?: CustomResourceOptions): ClassicKey
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alg: Optional[str] = None,
auto_rotate: Optional[str] = None,
cert_file_data: Optional[str] = None,
certificate_common_name: Optional[str] = None,
certificate_country: Optional[str] = None,
certificate_format: Optional[str] = None,
certificate_locality: Optional[str] = None,
certificate_organization: Optional[str] = None,
certificate_province: Optional[str] = None,
certificate_ttl: Optional[float] = None,
classic_key_id: Optional[str] = None,
conf_file_data: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
expiration_event_ins: Optional[Sequence[str]] = None,
generate_self_signed_certificate: Optional[bool] = None,
gpg_alg: Optional[str] = None,
key_data: Optional[str] = None,
name: Optional[str] = None,
protection_key_name: Optional[str] = None,
rotation_event_ins: Optional[Sequence[str]] = None,
rotation_interval: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ClassicKey
func GetClassicKey(ctx *Context, name string, id IDInput, state *ClassicKeyState, opts ...ResourceOption) (*ClassicKey, error)
public static ClassicKey Get(string name, Input<string> id, ClassicKeyState? state, CustomResourceOptions? opts = null)
public static ClassicKey get(String name, Output<String> id, ClassicKeyState state, CustomResourceOptions options)
resources: _: type: akeyless:ClassicKey get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alg string
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- Cert
File stringData - PEM Certificate in a Base64 format.
- Certificate
Common stringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Country string - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Format string - The format of the returned certificate [pem/der]
- Certificate
Locality string - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Organization string - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Province string - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Ttl double - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- Classic
Key stringId - The ID of this resource.
- Conf
File stringData - The csr config data in base64 encoding
- Delete
Protection string - Protection from accidental deletion of this object, [true/false]
- Description string
- Description of the object
- Expiration
Event List<string>Ins - How many days before the expiration of the certificate would you like to be notified.
- Generate
Self boolSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- Gpg
Alg string - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- Key
Data string - Base64-encoded classic key value provided by user
- Name string
- Classic key name
- Protection
Key stringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Rotation
Event List<string>Ins - How many days before the rotation of the item would you like to be notified.
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365)
- List<string>
- List of the tags attached to this key
- Alg string
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- Auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- Cert
File stringData - PEM Certificate in a Base64 format.
- Certificate
Common stringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Country string - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Format string - The format of the returned certificate [pem/der]
- Certificate
Locality string - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Organization string - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Province string - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- Certificate
Ttl float64 - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- Classic
Key stringId - The ID of this resource.
- Conf
File stringData - The csr config data in base64 encoding
- Delete
Protection string - Protection from accidental deletion of this object, [true/false]
- Description string
- Description of the object
- Expiration
Event []stringIns - How many days before the expiration of the certificate would you like to be notified.
- Generate
Self boolSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- Gpg
Alg string - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- Key
Data string - Base64-encoded classic key value provided by user
- Name string
- Classic key name
- Protection
Key stringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Rotation
Event []stringIns - How many days before the rotation of the item would you like to be notified.
- Rotation
Interval string - The number of days to wait between every automatic rotation (1-365)
- []string
- List of the tags attached to this key
- alg String
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert
File StringData - PEM Certificate in a Base64 format.
- certificate
Common StringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Country String - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Format String - The format of the returned certificate [pem/der]
- certificate
Locality String - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Organization String - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Province String - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Ttl Double - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic
Key StringId - The ID of this resource.
- conf
File StringData - The csr config data in base64 encoding
- delete
Protection String - Protection from accidental deletion of this object, [true/false]
- description String
- Description of the object
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified.
- generate
Self BooleanSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg
Alg String - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key
Data String - Base64-encoded classic key value provided by user
- name String
- Classic key name
- protection
Key StringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation
Event List<String>Ins - How many days before the rotation of the item would you like to be notified.
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365)
- List<String>
- List of the tags attached to this key
- alg string
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto
Rotate string - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert
File stringData - PEM Certificate in a Base64 format.
- certificate
Common stringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Country string - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Format string - The format of the returned certificate [pem/der]
- certificate
Locality string - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Organization string - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Province string - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Ttl number - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic
Key stringId - The ID of this resource.
- conf
File stringData - The csr config data in base64 encoding
- delete
Protection string - Protection from accidental deletion of this object, [true/false]
- description string
- Description of the object
- expiration
Event string[]Ins - How many days before the expiration of the certificate would you like to be notified.
- generate
Self booleanSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg
Alg string - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key
Data string - Base64-encoded classic key value provided by user
- name string
- Classic key name
- protection
Key stringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation
Event string[]Ins - How many days before the rotation of the item would you like to be notified.
- rotation
Interval string - The number of days to wait between every automatic rotation (1-365)
- string[]
- List of the tags attached to this key
- alg str
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto_
rotate str - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert_
file_ strdata - PEM Certificate in a Base64 format.
- certificate_
common_ strname - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
country str - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
format str - The format of the returned certificate [pem/der]
- certificate_
locality str - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
organization str - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
province str - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate_
ttl float - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic_
key_ strid - The ID of this resource.
- conf_
file_ strdata - The csr config data in base64 encoding
- delete_
protection str - Protection from accidental deletion of this object, [true/false]
- description str
- Description of the object
- expiration_
event_ Sequence[str]ins - How many days before the expiration of the certificate would you like to be notified.
- generate_
self_ boolsigned_ certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg_
alg str - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key_
data str - Base64-encoded classic key value provided by user
- name str
- Classic key name
- protection_
key_ strname - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation_
event_ Sequence[str]ins - How many days before the rotation of the item would you like to be notified.
- rotation_
interval str - The number of days to wait between every automatic rotation (1-365)
- Sequence[str]
- List of the tags attached to this key
- alg String
- Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
- auto
Rotate String - Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
- cert
File StringData - PEM Certificate in a Base64 format.
- certificate
Common StringName - Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Country String - Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Format String - The format of the returned certificate [pem/der]
- certificate
Locality String - Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Organization String - Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Province String - Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
- certificate
Ttl Number - TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
- classic
Key StringId - The ID of this resource.
- conf
File StringData - The csr config data in base64 encoding
- delete
Protection String - Protection from accidental deletion of this object, [true/false]
- description String
- Description of the object
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified.
- generate
Self BooleanSigned Certificate - Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
- gpg
Alg String - gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
- key
Data String - Base64-encoded classic key value provided by user
- name String
- Classic key name
- protection
Key StringName - The name of the key that protects the classic key value (if empty, the account default key will be used)
- rotation
Event List<String>Ins - How many days before the rotation of the item would you like to be notified.
- rotation
Interval String - The number of days to wait between every automatic rotation (1-365)
- List<String>
- List of the tags attached to this key
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.