akeyless.ProducerArtifactory
Explore with Pulumi AI
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:
- Artifactory
Token stringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- Artifactory
Token stringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Name string
- Producer name
- Producer
Artifactory stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in producer creation
- User
Ttl string - User TTL
- Artifactory
Token stringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- Artifactory
Token stringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Name string
- Producer name
- Producer
Artifactory stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in producer creation
- User
Ttl string - User TTL
- artifactory
Token StringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory
Token StringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- name String
- Producer name
- producer
Artifactory StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in producer creation
- user
Ttl String - User TTL
- artifactory
Token stringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory
Token stringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- artifactory
Admin stringName - Admin name
- artifactory
Admin stringPwd - Admin API Key/Password
- base
Url string - Artifactory REST URL, must end with artifactory postfix
- name string
- Producer name
- producer
Artifactory stringId - The ID of this resource.
- producer
Encryption stringKey Name - Encrypt producer with following key
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Name of existing target to use in producer creation
- user
Ttl string - User TTL
- artifactory_
token_ straudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory_
token_ strscope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- artifactory_
admin_ strname - Admin name
- artifactory_
admin_ strpwd - Admin API Key/Password
- base_
url str - Artifactory REST URL, must end with artifactory postfix
- name str
- Producer name
- producer_
artifactory_ strid - The ID of this resource.
- producer_
encryption_ strkey_ name - Encrypt producer with following key
- 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
- artifactory
Token StringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory
Token StringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- name String
- Producer name
- producer
Artifactory StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in producer creation
- user
Ttl 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.
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Artifactory
Token stringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- Artifactory
Token stringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Name string
- Producer name
- Producer
Artifactory stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in producer creation
- User
Ttl string - User TTL
- Artifactory
Admin stringName - Admin name
- Artifactory
Admin stringPwd - Admin API Key/Password
- Artifactory
Token stringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- Artifactory
Token stringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- Base
Url string - Artifactory REST URL, must end with artifactory postfix
- Name string
- Producer name
- Producer
Artifactory stringId - The ID of this resource.
- Producer
Encryption stringKey Name - Encrypt producer with following key
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in producer creation
- User
Ttl string - User TTL
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- artifactory
Token StringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory
Token StringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- name String
- Producer name
- producer
Artifactory StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in producer creation
- user
Ttl String - User TTL
- artifactory
Admin stringName - Admin name
- artifactory
Admin stringPwd - Admin API Key/Password
- artifactory
Token stringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory
Token stringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- base
Url string - Artifactory REST URL, must end with artifactory postfix
- name string
- Producer name
- producer
Artifactory stringId - The ID of this resource.
- producer
Encryption stringKey Name - Encrypt producer with following key
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Name of existing target to use in producer creation
- user
Ttl string - User TTL
- artifactory_
admin_ strname - Admin name
- artifactory_
admin_ strpwd - Admin API Key/Password
- artifactory_
token_ straudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory_
token_ strscope - 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_ strid - The ID of this resource.
- producer_
encryption_ strkey_ name - Encrypt producer with following key
- 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
- artifactory
Admin StringName - Admin name
- artifactory
Admin StringPwd - Admin API Key/Password
- artifactory
Token StringAudience - A space-separate list of the other Artifactory instances or services that should accept this token., for example: jfrt@*
- artifactory
Token StringScope - Token scope provided as a space-separated list, for example: member-of-groups:readers
- base
Url String - Artifactory REST URL, must end with artifactory postfix
- name String
- Producer name
- producer
Artifactory StringId - The ID of this resource.
- producer
Encryption StringKey Name - Encrypt producer with following key
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in producer creation
- user
Ttl String - User TTL
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.