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

akeyless.DynamicSecretGitlab

Explore with Pulumi AI

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

    Gitlab dynamic secret resource.

    Create DynamicSecretGitlab Resource

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

    Constructor syntax

    new DynamicSecretGitlab(name: string, args?: DynamicSecretGitlabArgs, opts?: CustomResourceOptions);
    @overload
    def DynamicSecretGitlab(resource_name: str,
                            args: Optional[DynamicSecretGitlabArgs] = None,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DynamicSecretGitlab(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            delete_protection: Optional[str] = None,
                            description: Optional[str] = None,
                            dynamic_secret_gitlab_id: Optional[str] = None,
                            gitlab_access_token: Optional[str] = None,
                            gitlab_access_type: Optional[str] = None,
                            gitlab_certificate: Optional[str] = None,
                            gitlab_role: Optional[str] = None,
                            gitlab_token_scopes: Optional[str] = None,
                            gitlab_url: Optional[str] = None,
                            group_name: Optional[str] = None,
                            installation_organization: Optional[str] = None,
                            name: Optional[str] = None,
                            tags: Optional[Sequence[str]] = None,
                            target_name: Optional[str] = None,
                            ttl: Optional[str] = None)
    func NewDynamicSecretGitlab(ctx *Context, name string, args *DynamicSecretGitlabArgs, opts ...ResourceOption) (*DynamicSecretGitlab, error)
    public DynamicSecretGitlab(string name, DynamicSecretGitlabArgs? args = null, CustomResourceOptions? opts = null)
    public DynamicSecretGitlab(String name, DynamicSecretGitlabArgs args)
    public DynamicSecretGitlab(String name, DynamicSecretGitlabArgs args, CustomResourceOptions options)
    
    type: akeyless:DynamicSecretGitlab
    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 DynamicSecretGitlabArgs
    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 DynamicSecretGitlabArgs
    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 DynamicSecretGitlabArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DynamicSecretGitlabArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DynamicSecretGitlabArgs
    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 dynamicSecretGitlabResource = new Akeyless.DynamicSecretGitlab("dynamicSecretGitlabResource", new()
    {
        DeleteProtection = "string",
        Description = "string",
        DynamicSecretGitlabId = "string",
        GitlabAccessToken = "string",
        GitlabAccessType = "string",
        GitlabCertificate = "string",
        GitlabRole = "string",
        GitlabTokenScopes = "string",
        GitlabUrl = "string",
        GroupName = "string",
        InstallationOrganization = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        TargetName = "string",
        Ttl = "string",
    });
    
    example, err := akeyless.NewDynamicSecretGitlab(ctx, "dynamicSecretGitlabResource", &akeyless.DynamicSecretGitlabArgs{
    	DeleteProtection:         pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	DynamicSecretGitlabId:    pulumi.String("string"),
    	GitlabAccessToken:        pulumi.String("string"),
    	GitlabAccessType:         pulumi.String("string"),
    	GitlabCertificate:        pulumi.String("string"),
    	GitlabRole:               pulumi.String("string"),
    	GitlabTokenScopes:        pulumi.String("string"),
    	GitlabUrl:                pulumi.String("string"),
    	GroupName:                pulumi.String("string"),
    	InstallationOrganization: pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TargetName: pulumi.String("string"),
    	Ttl:        pulumi.String("string"),
    })
    
    var dynamicSecretGitlabResource = new DynamicSecretGitlab("dynamicSecretGitlabResource", DynamicSecretGitlabArgs.builder()
        .deleteProtection("string")
        .description("string")
        .dynamicSecretGitlabId("string")
        .gitlabAccessToken("string")
        .gitlabAccessType("string")
        .gitlabCertificate("string")
        .gitlabRole("string")
        .gitlabTokenScopes("string")
        .gitlabUrl("string")
        .groupName("string")
        .installationOrganization("string")
        .name("string")
        .tags("string")
        .targetName("string")
        .ttl("string")
        .build());
    
    dynamic_secret_gitlab_resource = akeyless.DynamicSecretGitlab("dynamicSecretGitlabResource",
        delete_protection="string",
        description="string",
        dynamic_secret_gitlab_id="string",
        gitlab_access_token="string",
        gitlab_access_type="string",
        gitlab_certificate="string",
        gitlab_role="string",
        gitlab_token_scopes="string",
        gitlab_url="string",
        group_name="string",
        installation_organization="string",
        name="string",
        tags=["string"],
        target_name="string",
        ttl="string")
    
    const dynamicSecretGitlabResource = new akeyless.DynamicSecretGitlab("dynamicSecretGitlabResource", {
        deleteProtection: "string",
        description: "string",
        dynamicSecretGitlabId: "string",
        gitlabAccessToken: "string",
        gitlabAccessType: "string",
        gitlabCertificate: "string",
        gitlabRole: "string",
        gitlabTokenScopes: "string",
        gitlabUrl: "string",
        groupName: "string",
        installationOrganization: "string",
        name: "string",
        tags: ["string"],
        targetName: "string",
        ttl: "string",
    });
    
    type: akeyless:DynamicSecretGitlab
    properties:
        deleteProtection: string
        description: string
        dynamicSecretGitlabId: string
        gitlabAccessToken: string
        gitlabAccessType: string
        gitlabCertificate: string
        gitlabRole: string
        gitlabTokenScopes: string
        gitlabUrl: string
        groupName: string
        installationOrganization: string
        name: string
        tags:
            - string
        targetName: string
        ttl: string
    

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

    DeleteProtection string
    Protection from accidental deletion of this item, [true/false]
    Description string
    Description of the object
    DynamicSecretGitlabId string
    The ID of this resource.
    GitlabAccessToken string
    Gitlab access token
    GitlabAccessType string
    Gitlab access token type [project,group]
    GitlabCertificate string
    Gitlab tls certificate (base64 encoded)
    GitlabRole string
    Gitlab role
    GitlabTokenScopes string
    Comma-separated list of access token scopes to grant
    GitlabUrl string
    Gitlab base url
    GroupName string
    Gitlab group name, required for access-type=group
    InstallationOrganization string
    Gitlab project name, required for access-type=project
    Name string
    Dynamic secret name
    Tags List<string>
    A comma-separated list of tags attached to this secret
    TargetName string
    Name of an existing target
    Ttl string
    Access Token TTL
    DeleteProtection string
    Protection from accidental deletion of this item, [true/false]
    Description string
    Description of the object
    DynamicSecretGitlabId string
    The ID of this resource.
    GitlabAccessToken string
    Gitlab access token
    GitlabAccessType string
    Gitlab access token type [project,group]
    GitlabCertificate string
    Gitlab tls certificate (base64 encoded)
    GitlabRole string
    Gitlab role
    GitlabTokenScopes string
    Comma-separated list of access token scopes to grant
    GitlabUrl string
    Gitlab base url
    GroupName string
    Gitlab group name, required for access-type=group
    InstallationOrganization string
    Gitlab project name, required for access-type=project
    Name string
    Dynamic secret name
    Tags []string
    A comma-separated list of tags attached to this secret
    TargetName string
    Name of an existing target
    Ttl string
    Access Token TTL
    deleteProtection String
    Protection from accidental deletion of this item, [true/false]
    description String
    Description of the object
    dynamicSecretGitlabId String
    The ID of this resource.
    gitlabAccessToken String
    Gitlab access token
    gitlabAccessType String
    Gitlab access token type [project,group]
    gitlabCertificate String
    Gitlab tls certificate (base64 encoded)
    gitlabRole String
    Gitlab role
    gitlabTokenScopes String
    Comma-separated list of access token scopes to grant
    gitlabUrl String
    Gitlab base url
    groupName String
    Gitlab group name, required for access-type=group
    installationOrganization String
    Gitlab project name, required for access-type=project
    name String
    Dynamic secret name
    tags List<String>
    A comma-separated list of tags attached to this secret
    targetName String
    Name of an existing target
    ttl String
    Access Token TTL
    deleteProtection string
    Protection from accidental deletion of this item, [true/false]
    description string
    Description of the object
    dynamicSecretGitlabId string
    The ID of this resource.
    gitlabAccessToken string
    Gitlab access token
    gitlabAccessType string
    Gitlab access token type [project,group]
    gitlabCertificate string
    Gitlab tls certificate (base64 encoded)
    gitlabRole string
    Gitlab role
    gitlabTokenScopes string
    Comma-separated list of access token scopes to grant
    gitlabUrl string
    Gitlab base url
    groupName string
    Gitlab group name, required for access-type=group
    installationOrganization string
    Gitlab project name, required for access-type=project
    name string
    Dynamic secret name
    tags string[]
    A comma-separated list of tags attached to this secret
    targetName string
    Name of an existing target
    ttl string
    Access Token TTL
    delete_protection str
    Protection from accidental deletion of this item, [true/false]
    description str
    Description of the object
    dynamic_secret_gitlab_id str
    The ID of this resource.
    gitlab_access_token str
    Gitlab access token
    gitlab_access_type str
    Gitlab access token type [project,group]
    gitlab_certificate str
    Gitlab tls certificate (base64 encoded)
    gitlab_role str
    Gitlab role
    gitlab_token_scopes str
    Comma-separated list of access token scopes to grant
    gitlab_url str
    Gitlab base url
    group_name str
    Gitlab group name, required for access-type=group
    installation_organization str
    Gitlab project name, required for access-type=project
    name str
    Dynamic secret name
    tags Sequence[str]
    A comma-separated list of tags attached to this secret
    target_name str
    Name of an existing target
    ttl str
    Access Token TTL
    deleteProtection String
    Protection from accidental deletion of this item, [true/false]
    description String
    Description of the object
    dynamicSecretGitlabId String
    The ID of this resource.
    gitlabAccessToken String
    Gitlab access token
    gitlabAccessType String
    Gitlab access token type [project,group]
    gitlabCertificate String
    Gitlab tls certificate (base64 encoded)
    gitlabRole String
    Gitlab role
    gitlabTokenScopes String
    Comma-separated list of access token scopes to grant
    gitlabUrl String
    Gitlab base url
    groupName String
    Gitlab group name, required for access-type=group
    installationOrganization String
    Gitlab project name, required for access-type=project
    name String
    Dynamic secret name
    tags List<String>
    A comma-separated list of tags attached to this secret
    targetName String
    Name of an existing target
    ttl String
    Access Token TTL

    Outputs

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

    Get an existing DynamicSecretGitlab 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?: DynamicSecretGitlabState, opts?: CustomResourceOptions): DynamicSecretGitlab
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            dynamic_secret_gitlab_id: Optional[str] = None,
            gitlab_access_token: Optional[str] = None,
            gitlab_access_type: Optional[str] = None,
            gitlab_certificate: Optional[str] = None,
            gitlab_role: Optional[str] = None,
            gitlab_token_scopes: Optional[str] = None,
            gitlab_url: Optional[str] = None,
            group_name: Optional[str] = None,
            installation_organization: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None,
            ttl: Optional[str] = None) -> DynamicSecretGitlab
    func GetDynamicSecretGitlab(ctx *Context, name string, id IDInput, state *DynamicSecretGitlabState, opts ...ResourceOption) (*DynamicSecretGitlab, error)
    public static DynamicSecretGitlab Get(string name, Input<string> id, DynamicSecretGitlabState? state, CustomResourceOptions? opts = null)
    public static DynamicSecretGitlab get(String name, Output<String> id, DynamicSecretGitlabState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:DynamicSecretGitlab    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:
    DeleteProtection string
    Protection from accidental deletion of this item, [true/false]
    Description string
    Description of the object
    DynamicSecretGitlabId string
    The ID of this resource.
    GitlabAccessToken string
    Gitlab access token
    GitlabAccessType string
    Gitlab access token type [project,group]
    GitlabCertificate string
    Gitlab tls certificate (base64 encoded)
    GitlabRole string
    Gitlab role
    GitlabTokenScopes string
    Comma-separated list of access token scopes to grant
    GitlabUrl string
    Gitlab base url
    GroupName string
    Gitlab group name, required for access-type=group
    InstallationOrganization string
    Gitlab project name, required for access-type=project
    Name string
    Dynamic secret name
    Tags List<string>
    A comma-separated list of tags attached to this secret
    TargetName string
    Name of an existing target
    Ttl string
    Access Token TTL
    DeleteProtection string
    Protection from accidental deletion of this item, [true/false]
    Description string
    Description of the object
    DynamicSecretGitlabId string
    The ID of this resource.
    GitlabAccessToken string
    Gitlab access token
    GitlabAccessType string
    Gitlab access token type [project,group]
    GitlabCertificate string
    Gitlab tls certificate (base64 encoded)
    GitlabRole string
    Gitlab role
    GitlabTokenScopes string
    Comma-separated list of access token scopes to grant
    GitlabUrl string
    Gitlab base url
    GroupName string
    Gitlab group name, required for access-type=group
    InstallationOrganization string
    Gitlab project name, required for access-type=project
    Name string
    Dynamic secret name
    Tags []string
    A comma-separated list of tags attached to this secret
    TargetName string
    Name of an existing target
    Ttl string
    Access Token TTL
    deleteProtection String
    Protection from accidental deletion of this item, [true/false]
    description String
    Description of the object
    dynamicSecretGitlabId String
    The ID of this resource.
    gitlabAccessToken String
    Gitlab access token
    gitlabAccessType String
    Gitlab access token type [project,group]
    gitlabCertificate String
    Gitlab tls certificate (base64 encoded)
    gitlabRole String
    Gitlab role
    gitlabTokenScopes String
    Comma-separated list of access token scopes to grant
    gitlabUrl String
    Gitlab base url
    groupName String
    Gitlab group name, required for access-type=group
    installationOrganization String
    Gitlab project name, required for access-type=project
    name String
    Dynamic secret name
    tags List<String>
    A comma-separated list of tags attached to this secret
    targetName String
    Name of an existing target
    ttl String
    Access Token TTL
    deleteProtection string
    Protection from accidental deletion of this item, [true/false]
    description string
    Description of the object
    dynamicSecretGitlabId string
    The ID of this resource.
    gitlabAccessToken string
    Gitlab access token
    gitlabAccessType string
    Gitlab access token type [project,group]
    gitlabCertificate string
    Gitlab tls certificate (base64 encoded)
    gitlabRole string
    Gitlab role
    gitlabTokenScopes string
    Comma-separated list of access token scopes to grant
    gitlabUrl string
    Gitlab base url
    groupName string
    Gitlab group name, required for access-type=group
    installationOrganization string
    Gitlab project name, required for access-type=project
    name string
    Dynamic secret name
    tags string[]
    A comma-separated list of tags attached to this secret
    targetName string
    Name of an existing target
    ttl string
    Access Token TTL
    delete_protection str
    Protection from accidental deletion of this item, [true/false]
    description str
    Description of the object
    dynamic_secret_gitlab_id str
    The ID of this resource.
    gitlab_access_token str
    Gitlab access token
    gitlab_access_type str
    Gitlab access token type [project,group]
    gitlab_certificate str
    Gitlab tls certificate (base64 encoded)
    gitlab_role str
    Gitlab role
    gitlab_token_scopes str
    Comma-separated list of access token scopes to grant
    gitlab_url str
    Gitlab base url
    group_name str
    Gitlab group name, required for access-type=group
    installation_organization str
    Gitlab project name, required for access-type=project
    name str
    Dynamic secret name
    tags Sequence[str]
    A comma-separated list of tags attached to this secret
    target_name str
    Name of an existing target
    ttl str
    Access Token TTL
    deleteProtection String
    Protection from accidental deletion of this item, [true/false]
    description String
    Description of the object
    dynamicSecretGitlabId String
    The ID of this resource.
    gitlabAccessToken String
    Gitlab access token
    gitlabAccessType String
    Gitlab access token type [project,group]
    gitlabCertificate String
    Gitlab tls certificate (base64 encoded)
    gitlabRole String
    Gitlab role
    gitlabTokenScopes String
    Comma-separated list of access token scopes to grant
    gitlabUrl String
    Gitlab base url
    groupName String
    Gitlab group name, required for access-type=group
    installationOrganization String
    Gitlab project name, required for access-type=project
    name String
    Dynamic secret name
    tags List<String>
    A comma-separated list of tags attached to this secret
    targetName String
    Name of an existing target
    ttl String
    Access Token TTL

    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