akeyless.DynamicSecretArtifactory
Explore with Pulumi AI
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:
- 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
- Dynamic
Secret stringArtifactory Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- 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 dynamic secret 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
- Dynamic
Secret stringArtifactory Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- []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 dynamic secret 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
- dynamic
Secret StringArtifactory Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- 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 dynamic secret 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
- dynamic
Secret stringArtifactory Id - The ID of this resource.
- encryption
Key stringName - Encrypt dynamic secret details with following key
- name string
- Dynamic Secret name
- 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 dynamic secret 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
- dynamic_
secret_ strartifactory_ id - The ID of this resource.
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- name str
- Dynamic Secret name
- 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
- 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
- dynamic
Secret StringArtifactory Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- 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 dynamic secret creation
- user
Ttl 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.
- 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
- Dynamic
Secret stringArtifactory Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- 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 dynamic secret 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
- Dynamic
Secret stringArtifactory Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Name string
- Dynamic Secret name
- []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 dynamic secret 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
- dynamic
Secret StringArtifactory Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- 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 dynamic secret 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
- dynamic
Secret stringArtifactory Id - The ID of this resource.
- encryption
Key stringName - Encrypt dynamic secret details with following key
- name string
- Dynamic Secret name
- 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 dynamic secret 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
- dynamic_
secret_ strartifactory_ id - The ID of this resource.
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- name str
- Dynamic Secret name
- 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
- 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
- dynamic
Secret StringArtifactory Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- name String
- Dynamic Secret name
- 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 dynamic secret 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.