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

akeyless.DynamicSecretArtifactory

Explore with Pulumi AI

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

    Artifactory dynamic secret resource

    Create DynamicSecretArtifactory Resource

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

    Constructor syntax

    new DynamicSecretArtifactory(name: string, args: DynamicSecretArtifactoryArgs, opts?: CustomResourceOptions);
    @overload
    def DynamicSecretArtifactory(resource_name: str,
                                 args: DynamicSecretArtifactoryArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def DynamicSecretArtifactory(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 artifactory_token_audience: Optional[str] = None,
                                 artifactory_token_scope: Optional[str] = None,
                                 artifactory_admin_name: Optional[str] = None,
                                 artifactory_admin_pwd: Optional[str] = None,
                                 base_url: Optional[str] = None,
                                 dynamic_secret_artifactory_id: Optional[str] = None,
                                 encryption_key_name: Optional[str] = None,
                                 name: Optional[str] = None,
                                 tags: Optional[Sequence[str]] = None,
                                 target_name: Optional[str] = None,
                                 user_ttl: Optional[str] = None)
    func NewDynamicSecretArtifactory(ctx *Context, name string, args DynamicSecretArtifactoryArgs, opts ...ResourceOption) (*DynamicSecretArtifactory, error)
    public DynamicSecretArtifactory(string name, DynamicSecretArtifactoryArgs args, CustomResourceOptions? opts = null)
    public DynamicSecretArtifactory(String name, DynamicSecretArtifactoryArgs args)
    public DynamicSecretArtifactory(String name, DynamicSecretArtifactoryArgs args, CustomResourceOptions options)
    
    type: akeyless:DynamicSecretArtifactory
    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 DynamicSecretArtifactoryArgs
    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 DynamicSecretArtifactoryArgs
    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 DynamicSecretArtifactoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DynamicSecretArtifactoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DynamicSecretArtifactoryArgs
    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 dynamicSecretArtifactoryResource = new Akeyless.DynamicSecretArtifactory("dynamicSecretArtifactoryResource", new()
    {
        ArtifactoryTokenAudience = "string",
        ArtifactoryTokenScope = "string",
        ArtifactoryAdminName = "string",
        ArtifactoryAdminPwd = "string",
        BaseUrl = "string",
        DynamicSecretArtifactoryId = "string",
        EncryptionKeyName = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        TargetName = "string",
        UserTtl = "string",
    });
    
    example, err := akeyless.NewDynamicSecretArtifactory(ctx, "dynamicSecretArtifactoryResource", &akeyless.DynamicSecretArtifactoryArgs{
    	ArtifactoryTokenAudience:   pulumi.String("string"),
    	ArtifactoryTokenScope:      pulumi.String("string"),
    	ArtifactoryAdminName:       pulumi.String("string"),
    	ArtifactoryAdminPwd:        pulumi.String("string"),
    	BaseUrl:                    pulumi.String("string"),
    	DynamicSecretArtifactoryId: pulumi.String("string"),
    	EncryptionKeyName:          pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TargetName: pulumi.String("string"),
    	UserTtl:    pulumi.String("string"),
    })
    
    var dynamicSecretArtifactoryResource = new DynamicSecretArtifactory("dynamicSecretArtifactoryResource", DynamicSecretArtifactoryArgs.builder()
        .artifactoryTokenAudience("string")
        .artifactoryTokenScope("string")
        .artifactoryAdminName("string")
        .artifactoryAdminPwd("string")
        .baseUrl("string")
        .dynamicSecretArtifactoryId("string")
        .encryptionKeyName("string")
        .name("string")
        .tags("string")
        .targetName("string")
        .userTtl("string")
        .build());
    
    dynamic_secret_artifactory_resource = akeyless.DynamicSecretArtifactory("dynamicSecretArtifactoryResource",
        artifactory_token_audience="string",
        artifactory_token_scope="string",
        artifactory_admin_name="string",
        artifactory_admin_pwd="string",
        base_url="string",
        dynamic_secret_artifactory_id="string",
        encryption_key_name="string",
        name="string",
        tags=["string"],
        target_name="string",
        user_ttl="string")
    
    const dynamicSecretArtifactoryResource = new akeyless.DynamicSecretArtifactory("dynamicSecretArtifactoryResource", {
        artifactoryTokenAudience: "string",
        artifactoryTokenScope: "string",
        artifactoryAdminName: "string",
        artifactoryAdminPwd: "string",
        baseUrl: "string",
        dynamicSecretArtifactoryId: "string",
        encryptionKeyName: "string",
        name: "string",
        tags: ["string"],
        targetName: "string",
        userTtl: "string",
    });
    
    type: akeyless:DynamicSecretArtifactory
    properties:
        artifactoryAdminName: string
        artifactoryAdminPwd: string
        artifactoryTokenAudience: string
        artifactoryTokenScope: string
        baseUrl: string
        dynamicSecretArtifactoryId: string
        encryptionKeyName: string
        name: string
        tags:
            - string
        targetName: string
        userTtl: string
    

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

    ArtifactoryTokenAudience string
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    ArtifactoryTokenScope string
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    ArtifactoryAdminName string
    Admin name
    ArtifactoryAdminPwd string
    Admin API Key/Password
    BaseUrl string
    Artifactory REST URL, must end with artifactory postfix
    DynamicSecretArtifactoryId string
    The ID of this resource.
    EncryptionKeyName string
    Encrypt dynamic secret details with following key
    Name string
    Dynamic Secret name
    Tags List<string>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TargetName string
    Name of existing target to use in dynamic secret creation
    UserTtl string
    User TTL
    ArtifactoryTokenAudience string
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    ArtifactoryTokenScope string
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    ArtifactoryAdminName string
    Admin name
    ArtifactoryAdminPwd string
    Admin API Key/Password
    BaseUrl string
    Artifactory REST URL, must end with artifactory postfix
    DynamicSecretArtifactoryId string
    The ID of this resource.
    EncryptionKeyName string
    Encrypt dynamic secret details with following key
    Name string
    Dynamic Secret name
    Tags []string
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TargetName string
    Name of existing target to use in dynamic secret creation
    UserTtl string
    User TTL
    artifactoryTokenAudience String
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactoryTokenScope String
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    artifactoryAdminName String
    Admin name
    artifactoryAdminPwd String
    Admin API Key/Password
    baseUrl String
    Artifactory REST URL, must end with artifactory postfix
    dynamicSecretArtifactoryId String
    The ID of this resource.
    encryptionKeyName String
    Encrypt dynamic secret details with following key
    name String
    Dynamic Secret name
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName String
    Name of existing target to use in dynamic secret creation
    userTtl String
    User TTL
    artifactoryTokenAudience string
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactoryTokenScope string
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    artifactoryAdminName string
    Admin name
    artifactoryAdminPwd string
    Admin API Key/Password
    baseUrl string
    Artifactory REST URL, must end with artifactory postfix
    dynamicSecretArtifactoryId string
    The ID of this resource.
    encryptionKeyName string
    Encrypt dynamic secret details with following key
    name string
    Dynamic Secret name
    tags string[]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName string
    Name of existing target to use in dynamic secret creation
    userTtl string
    User TTL
    artifactory_token_audience str
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactory_token_scope str
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    artifactory_admin_name str
    Admin name
    artifactory_admin_pwd str
    Admin API Key/Password
    base_url str
    Artifactory REST URL, must end with artifactory postfix
    dynamic_secret_artifactory_id str
    The ID of this resource.
    encryption_key_name str
    Encrypt dynamic secret details with following key
    name str
    Dynamic Secret name
    tags Sequence[str]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    target_name str
    Name of existing target to use in dynamic secret creation
    user_ttl str
    User TTL
    artifactoryTokenAudience String
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactoryTokenScope String
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    artifactoryAdminName String
    Admin name
    artifactoryAdminPwd String
    Admin API Key/Password
    baseUrl String
    Artifactory REST URL, must end with artifactory postfix
    dynamicSecretArtifactoryId String
    The ID of this resource.
    encryptionKeyName String
    Encrypt dynamic secret details with following key
    name String
    Dynamic Secret name
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName String
    Name of existing target to use in dynamic secret creation
    userTtl String
    User TTL

    Outputs

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

    Get an existing DynamicSecretArtifactory 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?: DynamicSecretArtifactoryState, opts?: CustomResourceOptions): DynamicSecretArtifactory
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            artifactory_admin_name: Optional[str] = None,
            artifactory_admin_pwd: Optional[str] = None,
            artifactory_token_audience: Optional[str] = None,
            artifactory_token_scope: Optional[str] = None,
            base_url: Optional[str] = None,
            dynamic_secret_artifactory_id: Optional[str] = None,
            encryption_key_name: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None,
            user_ttl: Optional[str] = None) -> DynamicSecretArtifactory
    func GetDynamicSecretArtifactory(ctx *Context, name string, id IDInput, state *DynamicSecretArtifactoryState, opts ...ResourceOption) (*DynamicSecretArtifactory, error)
    public static DynamicSecretArtifactory Get(string name, Input<string> id, DynamicSecretArtifactoryState? state, CustomResourceOptions? opts = null)
    public static DynamicSecretArtifactory get(String name, Output<String> id, DynamicSecretArtifactoryState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:DynamicSecretArtifactory    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:
    ArtifactoryAdminName string
    Admin name
    ArtifactoryAdminPwd string
    Admin API Key/Password
    ArtifactoryTokenAudience string
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    ArtifactoryTokenScope string
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    BaseUrl string
    Artifactory REST URL, must end with artifactory postfix
    DynamicSecretArtifactoryId string
    The ID of this resource.
    EncryptionKeyName string
    Encrypt dynamic secret details with following key
    Name string
    Dynamic Secret name
    Tags List<string>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TargetName string
    Name of existing target to use in dynamic secret creation
    UserTtl string
    User TTL
    ArtifactoryAdminName string
    Admin name
    ArtifactoryAdminPwd string
    Admin API Key/Password
    ArtifactoryTokenAudience string
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    ArtifactoryTokenScope string
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    BaseUrl string
    Artifactory REST URL, must end with artifactory postfix
    DynamicSecretArtifactoryId string
    The ID of this resource.
    EncryptionKeyName string
    Encrypt dynamic secret details with following key
    Name string
    Dynamic Secret name
    Tags []string
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    TargetName string
    Name of existing target to use in dynamic secret creation
    UserTtl string
    User TTL
    artifactoryAdminName String
    Admin name
    artifactoryAdminPwd String
    Admin API Key/Password
    artifactoryTokenAudience String
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactoryTokenScope String
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    baseUrl String
    Artifactory REST URL, must end with artifactory postfix
    dynamicSecretArtifactoryId String
    The ID of this resource.
    encryptionKeyName String
    Encrypt dynamic secret details with following key
    name String
    Dynamic Secret name
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName String
    Name of existing target to use in dynamic secret creation
    userTtl String
    User TTL
    artifactoryAdminName string
    Admin name
    artifactoryAdminPwd string
    Admin API Key/Password
    artifactoryTokenAudience string
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactoryTokenScope string
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    baseUrl string
    Artifactory REST URL, must end with artifactory postfix
    dynamicSecretArtifactoryId string
    The ID of this resource.
    encryptionKeyName string
    Encrypt dynamic secret details with following key
    name string
    Dynamic Secret name
    tags string[]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName string
    Name of existing target to use in dynamic secret creation
    userTtl string
    User TTL
    artifactory_admin_name str
    Admin name
    artifactory_admin_pwd str
    Admin API Key/Password
    artifactory_token_audience str
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactory_token_scope str
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    base_url str
    Artifactory REST URL, must end with artifactory postfix
    dynamic_secret_artifactory_id str
    The ID of this resource.
    encryption_key_name str
    Encrypt dynamic secret details with following key
    name str
    Dynamic Secret name
    tags Sequence[str]
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    target_name str
    Name of existing target to use in dynamic secret creation
    user_ttl str
    User TTL
    artifactoryAdminName String
    Admin name
    artifactoryAdminPwd String
    Admin API Key/Password
    artifactoryTokenAudience String
    A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
    artifactoryTokenScope String
    Token scope provided as a space-separated list, for example: member-of-groups:readers
    baseUrl String
    Artifactory REST URL, must end with artifactory postfix
    dynamicSecretArtifactoryId String
    The ID of this resource.
    encryptionKeyName String
    Encrypt dynamic secret details with following key
    name String
    Dynamic Secret name
    tags List<String>
    List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
    targetName String
    Name of existing target to use in dynamic secret creation
    userTtl String
    User 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