1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. RotatedSecretGcp
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community

    Gcp rotated secret resource

    Create RotatedSecretGcp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RotatedSecretGcp(name: string, args: RotatedSecretGcpArgs, opts?: CustomResourceOptions);
    @overload
    def RotatedSecretGcp(resource_name: str,
                         args: RotatedSecretGcpArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def RotatedSecretGcp(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         rotator_type: Optional[str] = None,
                         target_name: Optional[str] = None,
                         item_custom_fields: Optional[Mapping[str, str]] = None,
                         max_versions: Optional[str] = None,
                         gcp_key: Optional[str] = None,
                         gcp_service_account_email: Optional[str] = None,
                         gcp_service_account_key_id: Optional[str] = None,
                         grace_rotation: Optional[str] = None,
                         grace_rotation_hour: Optional[float] = None,
                         grace_rotation_interval: Optional[str] = None,
                         authentication_credentials: Optional[str] = None,
                         keep_prev_version: Optional[str] = None,
                         key: Optional[str] = None,
                         description: Optional[str] = None,
                         name: Optional[str] = None,
                         password_length: Optional[str] = None,
                         rotated_secret_gcp_id: Optional[str] = None,
                         rotation_event_ins: Optional[Sequence[str]] = None,
                         rotation_hour: Optional[float] = None,
                         rotation_interval: Optional[str] = None,
                         delete_protection: Optional[str] = None,
                         tags: Optional[Sequence[str]] = None,
                         auto_rotate: Optional[str] = None)
    func NewRotatedSecretGcp(ctx *Context, name string, args RotatedSecretGcpArgs, opts ...ResourceOption) (*RotatedSecretGcp, error)
    public RotatedSecretGcp(string name, RotatedSecretGcpArgs args, CustomResourceOptions? opts = null)
    public RotatedSecretGcp(String name, RotatedSecretGcpArgs args)
    public RotatedSecretGcp(String name, RotatedSecretGcpArgs args, CustomResourceOptions options)
    
    type: akeyless:RotatedSecretGcp
    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 RotatedSecretGcpArgs
    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 RotatedSecretGcpArgs
    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 RotatedSecretGcpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RotatedSecretGcpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RotatedSecretGcpArgs
    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 rotatedSecretGcpResource = new Akeyless.RotatedSecretGcp("rotatedSecretGcpResource", new()
    {
        RotatorType = "string",
        TargetName = "string",
        ItemCustomFields = 
        {
            { "string", "string" },
        },
        MaxVersions = "string",
        GcpKey = "string",
        GcpServiceAccountEmail = "string",
        GcpServiceAccountKeyId = "string",
        GraceRotation = "string",
        GraceRotationHour = 0,
        GraceRotationInterval = "string",
        AuthenticationCredentials = "string",
        KeepPrevVersion = "string",
        Key = "string",
        Description = "string",
        Name = "string",
        PasswordLength = "string",
        RotatedSecretGcpId = "string",
        RotationEventIns = new[]
        {
            "string",
        },
        RotationHour = 0,
        RotationInterval = "string",
        DeleteProtection = "string",
        Tags = new[]
        {
            "string",
        },
        AutoRotate = "string",
    });
    
    example, err := akeyless.NewRotatedSecretGcp(ctx, "rotatedSecretGcpResource", &akeyless.RotatedSecretGcpArgs{
    	RotatorType: pulumi.String("string"),
    	TargetName:  pulumi.String("string"),
    	ItemCustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MaxVersions:               pulumi.String("string"),
    	GcpKey:                    pulumi.String("string"),
    	GcpServiceAccountEmail:    pulumi.String("string"),
    	GcpServiceAccountKeyId:    pulumi.String("string"),
    	GraceRotation:             pulumi.String("string"),
    	GraceRotationHour:         pulumi.Float64(0),
    	GraceRotationInterval:     pulumi.String("string"),
    	AuthenticationCredentials: pulumi.String("string"),
    	KeepPrevVersion:           pulumi.String("string"),
    	Key:                       pulumi.String("string"),
    	Description:               pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	PasswordLength:            pulumi.String("string"),
    	RotatedSecretGcpId:        pulumi.String("string"),
    	RotationEventIns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RotationHour:     pulumi.Float64(0),
    	RotationInterval: pulumi.String("string"),
    	DeleteProtection: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AutoRotate: pulumi.String("string"),
    })
    
    var rotatedSecretGcpResource = new RotatedSecretGcp("rotatedSecretGcpResource", RotatedSecretGcpArgs.builder()
        .rotatorType("string")
        .targetName("string")
        .itemCustomFields(Map.of("string", "string"))
        .maxVersions("string")
        .gcpKey("string")
        .gcpServiceAccountEmail("string")
        .gcpServiceAccountKeyId("string")
        .graceRotation("string")
        .graceRotationHour(0.0)
        .graceRotationInterval("string")
        .authenticationCredentials("string")
        .keepPrevVersion("string")
        .key("string")
        .description("string")
        .name("string")
        .passwordLength("string")
        .rotatedSecretGcpId("string")
        .rotationEventIns("string")
        .rotationHour(0.0)
        .rotationInterval("string")
        .deleteProtection("string")
        .tags("string")
        .autoRotate("string")
        .build());
    
    rotated_secret_gcp_resource = akeyless.RotatedSecretGcp("rotatedSecretGcpResource",
        rotator_type="string",
        target_name="string",
        item_custom_fields={
            "string": "string",
        },
        max_versions="string",
        gcp_key="string",
        gcp_service_account_email="string",
        gcp_service_account_key_id="string",
        grace_rotation="string",
        grace_rotation_hour=float(0),
        grace_rotation_interval="string",
        authentication_credentials="string",
        keep_prev_version="string",
        key="string",
        description="string",
        name="string",
        password_length="string",
        rotated_secret_gcp_id="string",
        rotation_event_ins=["string"],
        rotation_hour=float(0),
        rotation_interval="string",
        delete_protection="string",
        tags=["string"],
        auto_rotate="string")
    
    const rotatedSecretGcpResource = new akeyless.RotatedSecretGcp("rotatedSecretGcpResource", {
        rotatorType: "string",
        targetName: "string",
        itemCustomFields: {
            string: "string",
        },
        maxVersions: "string",
        gcpKey: "string",
        gcpServiceAccountEmail: "string",
        gcpServiceAccountKeyId: "string",
        graceRotation: "string",
        graceRotationHour: 0,
        graceRotationInterval: "string",
        authenticationCredentials: "string",
        keepPrevVersion: "string",
        key: "string",
        description: "string",
        name: "string",
        passwordLength: "string",
        rotatedSecretGcpId: "string",
        rotationEventIns: ["string"],
        rotationHour: 0,
        rotationInterval: "string",
        deleteProtection: "string",
        tags: ["string"],
        autoRotate: "string",
    });
    
    type: akeyless:RotatedSecretGcp
    properties:
        authenticationCredentials: string
        autoRotate: string
        deleteProtection: string
        description: string
        gcpKey: string
        gcpServiceAccountEmail: string
        gcpServiceAccountKeyId: string
        graceRotation: string
        graceRotationHour: 0
        graceRotationInterval: string
        itemCustomFields:
            string: string
        keepPrevVersion: string
        key: string
        maxVersions: string
        name: string
        passwordLength: string
        rotatedSecretGcpId: string
        rotationEventIns:
            - string
        rotationHour: 0
        rotationInterval: string
        rotatorType: string
        tags:
            - string
        targetName: string
    

    RotatedSecretGcp 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 RotatedSecretGcp resource accepts the following input properties:

    RotatorType string
    The rotator type. options: [target/service-account-rotator]
    TargetName string
    Target name
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    GcpKey string
    Base64-encoded service account private key text
    GcpServiceAccountEmail string
    The email of the gcp service account to rotate
    GcpServiceAccountKeyId string
    The key id of the gcp service account to rotate
    GraceRotation string
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    GraceRotationHour double
    The Hour of the grace rotation in UTC
    GraceRotationInterval string
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Rotated secret name
    PasswordLength string
    The length of the password to be generated
    RotatedSecretGcpId string
    The ID of this resource.
    RotationEventIns List<string>
    How many days before the rotation of the item would you like to be notified
    RotationHour double
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    Tags List<string>
    Add tags attached to this object
    RotatorType string
    The rotator type. options: [target/service-account-rotator]
    TargetName string
    Target name
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    GcpKey string
    Base64-encoded service account private key text
    GcpServiceAccountEmail string
    The email of the gcp service account to rotate
    GcpServiceAccountKeyId string
    The key id of the gcp service account to rotate
    GraceRotation string
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    GraceRotationHour float64
    The Hour of the grace rotation in UTC
    GraceRotationInterval string
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Rotated secret name
    PasswordLength string
    The length of the password to be generated
    RotatedSecretGcpId string
    The ID of this resource.
    RotationEventIns []string
    How many days before the rotation of the item would you like to be notified
    RotationHour float64
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    Tags []string
    Add tags attached to this object
    rotatorType String
    The rotator type. options: [target/service-account-rotator]
    targetName String
    Target name
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    gcpKey String
    Base64-encoded service account private key text
    gcpServiceAccountEmail String
    The email of the gcp service account to rotate
    gcpServiceAccountKeyId String
    The key id of the gcp service account to rotate
    graceRotation String
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    graceRotationHour Double
    The Hour of the grace rotation in UTC
    graceRotationInterval String
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Rotated secret name
    passwordLength String
    The length of the password to be generated
    rotatedSecretGcpId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Double
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    tags List<String>
    Add tags attached to this object
    rotatorType string
    The rotator type. options: [target/service-account-rotator]
    targetName string
    Target name
    authenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    gcpKey string
    Base64-encoded service account private key text
    gcpServiceAccountEmail string
    The email of the gcp service account to rotate
    gcpServiceAccountKeyId string
    The key id of the gcp service account to rotate
    graceRotation string
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    graceRotationHour number
    The Hour of the grace rotation in UTC
    graceRotationInterval string
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    keepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    maxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    name string
    Rotated secret name
    passwordLength string
    The length of the password to be generated
    rotatedSecretGcpId string
    The ID of this resource.
    rotationEventIns string[]
    How many days before the rotation of the item would you like to be notified
    rotationHour number
    The Hour of the rotation in UTC
    rotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    tags string[]
    Add tags attached to this object
    rotator_type str
    The rotator type. options: [target/service-account-rotator]
    target_name str
    Target name
    authentication_credentials str
    The credentials to connect with use-self-creds/use-target-creds
    auto_rotate str
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    gcp_key str
    Base64-encoded service account private key text
    gcp_service_account_email str
    The email of the gcp service account to rotate
    gcp_service_account_key_id str
    The key id of the gcp service account to rotate
    grace_rotation str
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    grace_rotation_hour float
    The Hour of the grace rotation in UTC
    grace_rotation_interval str
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    keep_prev_version str
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key str
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    max_versions str
    Set the maximum number of versions, limited by the account settings defaults.
    name str
    Rotated secret name
    password_length str
    The length of the password to be generated
    rotated_secret_gcp_id str
    The ID of this resource.
    rotation_event_ins Sequence[str]
    How many days before the rotation of the item would you like to be notified
    rotation_hour float
    The Hour of the rotation in UTC
    rotation_interval str
    The number of days to wait between every automatic key rotation (1-365)
    tags Sequence[str]
    Add tags attached to this object
    rotatorType String
    The rotator type. options: [target/service-account-rotator]
    targetName String
    Target name
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    gcpKey String
    Base64-encoded service account private key text
    gcpServiceAccountEmail String
    The email of the gcp service account to rotate
    gcpServiceAccountKeyId String
    The key id of the gcp service account to rotate
    graceRotation String
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    graceRotationHour Number
    The Hour of the grace rotation in UTC
    graceRotationInterval String
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Rotated secret name
    passwordLength String
    The length of the password to be generated
    rotatedSecretGcpId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Number
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    tags List<String>
    Add tags attached to this object

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RotatedSecretGcp 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 RotatedSecretGcp Resource

    Get an existing RotatedSecretGcp 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?: RotatedSecretGcpState, opts?: CustomResourceOptions): RotatedSecretGcp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication_credentials: Optional[str] = None,
            auto_rotate: Optional[str] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            gcp_key: Optional[str] = None,
            gcp_service_account_email: Optional[str] = None,
            gcp_service_account_key_id: Optional[str] = None,
            grace_rotation: Optional[str] = None,
            grace_rotation_hour: Optional[float] = None,
            grace_rotation_interval: Optional[str] = None,
            item_custom_fields: Optional[Mapping[str, str]] = None,
            keep_prev_version: Optional[str] = None,
            key: Optional[str] = None,
            max_versions: Optional[str] = None,
            name: Optional[str] = None,
            password_length: Optional[str] = None,
            rotated_secret_gcp_id: Optional[str] = None,
            rotation_event_ins: Optional[Sequence[str]] = None,
            rotation_hour: Optional[float] = None,
            rotation_interval: Optional[str] = None,
            rotator_type: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None) -> RotatedSecretGcp
    func GetRotatedSecretGcp(ctx *Context, name string, id IDInput, state *RotatedSecretGcpState, opts ...ResourceOption) (*RotatedSecretGcp, error)
    public static RotatedSecretGcp Get(string name, Input<string> id, RotatedSecretGcpState? state, CustomResourceOptions? opts = null)
    public static RotatedSecretGcp get(String name, Output<String> id, RotatedSecretGcpState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:RotatedSecretGcp    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:
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    GcpKey string
    Base64-encoded service account private key text
    GcpServiceAccountEmail string
    The email of the gcp service account to rotate
    GcpServiceAccountKeyId string
    The key id of the gcp service account to rotate
    GraceRotation string
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    GraceRotationHour double
    The Hour of the grace rotation in UTC
    GraceRotationInterval string
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Rotated secret name
    PasswordLength string
    The length of the password to be generated
    RotatedSecretGcpId string
    The ID of this resource.
    RotationEventIns List<string>
    How many days before the rotation of the item would you like to be notified
    RotationHour double
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    RotatorType string
    The rotator type. options: [target/service-account-rotator]
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    AuthenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    AutoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    GcpKey string
    Base64-encoded service account private key text
    GcpServiceAccountEmail string
    The email of the gcp service account to rotate
    GcpServiceAccountKeyId string
    The key id of the gcp service account to rotate
    GraceRotation string
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    GraceRotationHour float64
    The Hour of the grace rotation in UTC
    GraceRotationInterval string
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    Name string
    Rotated secret name
    PasswordLength string
    The length of the password to be generated
    RotatedSecretGcpId string
    The ID of this resource.
    RotationEventIns []string
    How many days before the rotation of the item would you like to be notified
    RotationHour float64
    The Hour of the rotation in UTC
    RotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    RotatorType string
    The rotator type. options: [target/service-account-rotator]
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    gcpKey String
    Base64-encoded service account private key text
    gcpServiceAccountEmail String
    The email of the gcp service account to rotate
    gcpServiceAccountKeyId String
    The key id of the gcp service account to rotate
    graceRotation String
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    graceRotationHour Double
    The Hour of the grace rotation in UTC
    graceRotationInterval String
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Rotated secret name
    passwordLength String
    The length of the password to be generated
    rotatedSecretGcpId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Double
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    rotatorType String
    The rotator type. options: [target/service-account-rotator]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    authenticationCredentials string
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate string
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    gcpKey string
    Base64-encoded service account private key text
    gcpServiceAccountEmail string
    The email of the gcp service account to rotate
    gcpServiceAccountKeyId string
    The key id of the gcp service account to rotate
    graceRotation string
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    graceRotationHour number
    The Hour of the grace rotation in UTC
    graceRotationInterval string
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    keepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key string
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    maxVersions string
    Set the maximum number of versions, limited by the account settings defaults.
    name string
    Rotated secret name
    passwordLength string
    The length of the password to be generated
    rotatedSecretGcpId string
    The ID of this resource.
    rotationEventIns string[]
    How many days before the rotation of the item would you like to be notified
    rotationHour number
    The Hour of the rotation in UTC
    rotationInterval string
    The number of days to wait between every automatic key rotation (1-365)
    rotatorType string
    The rotator type. options: [target/service-account-rotator]
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    authentication_credentials str
    The credentials to connect with use-self-creds/use-target-creds
    auto_rotate str
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    gcp_key str
    Base64-encoded service account private key text
    gcp_service_account_email str
    The email of the gcp service account to rotate
    gcp_service_account_key_id str
    The key id of the gcp service account to rotate
    grace_rotation str
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    grace_rotation_hour float
    The Hour of the grace rotation in UTC
    grace_rotation_interval str
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    keep_prev_version str
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key str
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    max_versions str
    Set the maximum number of versions, limited by the account settings defaults.
    name str
    Rotated secret name
    password_length str
    The length of the password to be generated
    rotated_secret_gcp_id str
    The ID of this resource.
    rotation_event_ins Sequence[str]
    How many days before the rotation of the item would you like to be notified
    rotation_hour float
    The Hour of the rotation in UTC
    rotation_interval str
    The number of days to wait between every automatic key rotation (1-365)
    rotator_type str
    The rotator type. options: [target/service-account-rotator]
    tags Sequence[str]
    Add tags attached to this object
    target_name str
    Target name
    authenticationCredentials String
    The credentials to connect with use-self-creds/use-target-creds
    autoRotate String
    Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    gcpKey String
    Base64-encoded service account private key text
    gcpServiceAccountEmail String
    The email of the gcp service account to rotate
    gcpServiceAccountKeyId String
    The key id of the gcp service account to rotate
    graceRotation String
    Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
    graceRotationHour Number
    The Hour of the grace rotation in UTC
    graceRotationInterval String
    The number of days to wait before deleting the old key (must be bigger than rotation-interval)
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults.
    name String
    Rotated secret name
    passwordLength String
    The length of the password to be generated
    rotatedSecretGcpId String
    The ID of this resource.
    rotationEventIns List<String>
    How many days before the rotation of the item would you like to be notified
    rotationHour Number
    The Hour of the rotation in UTC
    rotationInterval String
    The number of days to wait between every automatic key rotation (1-365)
    rotatorType String
    The rotator type. options: [target/service-account-rotator]
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    Viewing docs for akeyless 2.0.1
    published on Monday, Apr 27, 2026 by akeyless-community
      Try Pulumi Cloud free. Your team will thank you.