1. Packages
  2. Akeyless Provider
  3. API Docs
  4. ClassicKey
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.ClassicKey

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    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]
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    CertFileData string
    PEM Certificate in a Base64 format.
    CertificateCommonName string
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateCountry string
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateFormat string
    The format of the returned certificate [pem/der]
    CertificateLocality string
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateOrganization string
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateProvince string
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateTtl double
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    ClassicKeyId string
    The ID of this resource.
    ConfFileData string
    The csr config data in base64 encoding
    DeleteProtection string
    Protection from accidental deletion of this object, [true/false]
    Description string
    Description of the object
    ExpirationEventIns List<string>
    How many days before the expiration of the certificate would you like to be notified.
    GenerateSelfSignedCertificate bool
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    GpgAlg string
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    KeyData string
    Base64-encoded classic key value provided by user
    Name string
    Classic key name
    ProtectionKeyName string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    RotationEventIns List<string>
    How many days before the rotation of the item would you like to be notified.
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365)
    Tags 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]
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    CertFileData string
    PEM Certificate in a Base64 format.
    CertificateCommonName string
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateCountry string
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateFormat string
    The format of the returned certificate [pem/der]
    CertificateLocality string
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateOrganization string
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateProvince string
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateTtl float64
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    ClassicKeyId string
    The ID of this resource.
    ConfFileData string
    The csr config data in base64 encoding
    DeleteProtection string
    Protection from accidental deletion of this object, [true/false]
    Description string
    Description of the object
    ExpirationEventIns []string
    How many days before the expiration of the certificate would you like to be notified.
    GenerateSelfSignedCertificate bool
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    GpgAlg string
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    KeyData string
    Base64-encoded classic key value provided by user
    Name string
    Classic key name
    ProtectionKeyName string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    RotationEventIns []string
    How many days before the rotation of the item would you like to be notified.
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365)
    Tags []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]
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    certFileData String
    PEM Certificate in a Base64 format.
    certificateCommonName String
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateCountry String
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateFormat String
    The format of the returned certificate [pem/der]
    certificateLocality String
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateOrganization String
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateProvince String
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateTtl Double
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    classicKeyId String
    The ID of this resource.
    confFileData String
    The csr config data in base64 encoding
    deleteProtection String
    Protection from accidental deletion of this object, [true/false]
    description String
    Description of the object
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified.
    generateSelfSignedCertificate Boolean
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    gpgAlg String
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    keyData String
    Base64-encoded classic key value provided by user
    name String
    Classic key name
    protectionKeyName String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified.
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365)
    tags 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]
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    certFileData string
    PEM Certificate in a Base64 format.
    certificateCommonName string
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateCountry string
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateFormat string
    The format of the returned certificate [pem/der]
    certificateLocality string
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateOrganization string
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateProvince string
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateTtl number
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    classicKeyId string
    The ID of this resource.
    confFileData string
    The csr config data in base64 encoding
    deleteProtection string
    Protection from accidental deletion of this object, [true/false]
    description string
    Description of the object
    expirationEventIns string[]
    How many days before the expiration of the certificate would you like to be notified.
    generateSelfSignedCertificate boolean
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    gpgAlg string
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    keyData string
    Base64-encoded classic key value provided by user
    name string
    Classic key name
    protectionKeyName string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotationEventIns string[]
    How many days before the rotation of the item would you like to be notified.
    rotationInterval string
    The number of days to wait between every automatic rotation (1-365)
    tags 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_data str
    PEM Certificate in a Base64 format.
    certificate_common_name str
    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_id str
    The ID of this resource.
    conf_file_data str
    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_ins Sequence[str]
    How many days before the expiration of the certificate would you like to be notified.
    generate_self_signed_certificate bool
    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_name str
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotation_event_ins Sequence[str]
    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)
    tags 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]
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    certFileData String
    PEM Certificate in a Base64 format.
    certificateCommonName String
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateCountry String
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateFormat String
    The format of the returned certificate [pem/der]
    certificateLocality String
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateOrganization String
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateProvince String
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateTtl Number
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    classicKeyId String
    The ID of this resource.
    confFileData String
    The csr config data in base64 encoding
    deleteProtection String
    Protection from accidental deletion of this object, [true/false]
    description String
    Description of the object
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified.
    generateSelfSignedCertificate Boolean
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    gpgAlg String
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    keyData String
    Base64-encoded classic key value provided by user
    name String
    Classic key name
    protectionKeyName String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified.
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365)
    tags 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.
    The following state arguments are supported:
    Alg string
    Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    CertFileData string
    PEM Certificate in a Base64 format.
    CertificateCommonName string
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateCountry string
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateFormat string
    The format of the returned certificate [pem/der]
    CertificateLocality string
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateOrganization string
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateProvince string
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateTtl double
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    ClassicKeyId string
    The ID of this resource.
    ConfFileData string
    The csr config data in base64 encoding
    DeleteProtection string
    Protection from accidental deletion of this object, [true/false]
    Description string
    Description of the object
    ExpirationEventIns List<string>
    How many days before the expiration of the certificate would you like to be notified.
    GenerateSelfSignedCertificate bool
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    GpgAlg string
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    KeyData string
    Base64-encoded classic key value provided by user
    Name string
    Classic key name
    ProtectionKeyName string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    RotationEventIns List<string>
    How many days before the rotation of the item would you like to be notified.
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365)
    Tags 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]
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    CertFileData string
    PEM Certificate in a Base64 format.
    CertificateCommonName string
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateCountry string
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateFormat string
    The format of the returned certificate [pem/der]
    CertificateLocality string
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateOrganization string
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateProvince string
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    CertificateTtl float64
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    ClassicKeyId string
    The ID of this resource.
    ConfFileData string
    The csr config data in base64 encoding
    DeleteProtection string
    Protection from accidental deletion of this object, [true/false]
    Description string
    Description of the object
    ExpirationEventIns []string
    How many days before the expiration of the certificate would you like to be notified.
    GenerateSelfSignedCertificate bool
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    GpgAlg string
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    KeyData string
    Base64-encoded classic key value provided by user
    Name string
    Classic key name
    ProtectionKeyName string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    RotationEventIns []string
    How many days before the rotation of the item would you like to be notified.
    RotationInterval string
    The number of days to wait between every automatic rotation (1-365)
    Tags []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]
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    certFileData String
    PEM Certificate in a Base64 format.
    certificateCommonName String
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateCountry String
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateFormat String
    The format of the returned certificate [pem/der]
    certificateLocality String
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateOrganization String
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateProvince String
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateTtl Double
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    classicKeyId String
    The ID of this resource.
    confFileData String
    The csr config data in base64 encoding
    deleteProtection String
    Protection from accidental deletion of this object, [true/false]
    description String
    Description of the object
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified.
    generateSelfSignedCertificate Boolean
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    gpgAlg String
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    keyData String
    Base64-encoded classic key value provided by user
    name String
    Classic key name
    protectionKeyName String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified.
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365)
    tags 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]
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    certFileData string
    PEM Certificate in a Base64 format.
    certificateCommonName string
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateCountry string
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateFormat string
    The format of the returned certificate [pem/der]
    certificateLocality string
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateOrganization string
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateProvince string
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateTtl number
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    classicKeyId string
    The ID of this resource.
    confFileData string
    The csr config data in base64 encoding
    deleteProtection string
    Protection from accidental deletion of this object, [true/false]
    description string
    Description of the object
    expirationEventIns string[]
    How many days before the expiration of the certificate would you like to be notified.
    generateSelfSignedCertificate boolean
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    gpgAlg string
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    keyData string
    Base64-encoded classic key value provided by user
    name string
    Classic key name
    protectionKeyName string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotationEventIns string[]
    How many days before the rotation of the item would you like to be notified.
    rotationInterval string
    The number of days to wait between every automatic rotation (1-365)
    tags 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_data str
    PEM Certificate in a Base64 format.
    certificate_common_name str
    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_id str
    The ID of this resource.
    conf_file_data str
    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_ins Sequence[str]
    How many days before the expiration of the certificate would you like to be notified.
    generate_self_signed_certificate bool
    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_name str
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotation_event_ins Sequence[str]
    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)
    tags 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]
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    certFileData String
    PEM Certificate in a Base64 format.
    certificateCommonName String
    Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateCountry String
    Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateFormat String
    The format of the returned certificate [pem/der]
    certificateLocality String
    Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateOrganization String
    Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateProvince String
    Province name for the generated certificate. Relevant only for generate-self-signed-certificate.
    certificateTtl Number
    TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
    classicKeyId String
    The ID of this resource.
    confFileData String
    The csr config data in base64 encoding
    deleteProtection String
    Protection from accidental deletion of this object, [true/false]
    description String
    Description of the object
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified.
    generateSelfSignedCertificate Boolean
    Whether to generate a self signed certificate with the key. If set, certificate_ttl must be provided.
    gpgAlg String
    gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
    keyData String
    Base64-encoded classic key value provided by user
    name String
    Classic key name
    protectionKeyName String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified.
    rotationInterval String
    The number of days to wait between every automatic rotation (1-365)
    tags 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.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community