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

akeyless.ProducerArtifactory

Explore with Pulumi AI

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

    Artifactory producer resource

    Create ProducerArtifactory Resource

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

    Constructor syntax

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

    ProducerArtifactory 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 ProducerArtifactory 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
    Name string
    Producer name
    ProducerArtifactoryId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    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 producer 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
    Name string
    Producer name
    ProducerArtifactoryId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    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 producer 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
    name String
    Producer name
    producerArtifactoryId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    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 producer 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
    name string
    Producer name
    producerArtifactoryId string
    The ID of this resource.
    producerEncryptionKeyName string
    Encrypt producer with following key
    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 producer 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
    name str
    Producer name
    producer_artifactory_id str
    The ID of this resource.
    producer_encryption_key_name str
    Encrypt producer with following key
    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 producer 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
    name String
    Producer name
    producerArtifactoryId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    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 producer creation
    userTtl String
    User TTL

    Outputs

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

    Get an existing ProducerArtifactory 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?: ProducerArtifactoryState, opts?: CustomResourceOptions): ProducerArtifactory
    @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,
            name: Optional[str] = None,
            producer_artifactory_id: Optional[str] = None,
            producer_encryption_key_name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None,
            user_ttl: Optional[str] = None) -> ProducerArtifactory
    func GetProducerArtifactory(ctx *Context, name string, id IDInput, state *ProducerArtifactoryState, opts ...ResourceOption) (*ProducerArtifactory, error)
    public static ProducerArtifactory Get(string name, Input<string> id, ProducerArtifactoryState? state, CustomResourceOptions? opts = null)
    public static ProducerArtifactory get(String name, Output<String> id, ProducerArtifactoryState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:ProducerArtifactory    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
    Name string
    Producer name
    ProducerArtifactoryId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    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 producer 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
    Name string
    Producer name
    ProducerArtifactoryId string
    The ID of this resource.
    ProducerEncryptionKeyName string
    Encrypt producer with following key
    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 producer 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
    name String
    Producer name
    producerArtifactoryId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    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 producer 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
    name string
    Producer name
    producerArtifactoryId string
    The ID of this resource.
    producerEncryptionKeyName string
    Encrypt producer with following key
    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 producer 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
    name str
    Producer name
    producer_artifactory_id str
    The ID of this resource.
    producer_encryption_key_name str
    Encrypt producer with following key
    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 producer 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
    name String
    Producer name
    producerArtifactoryId String
    The ID of this resource.
    producerEncryptionKeyName String
    Encrypt producer with following key
    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 producer 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