ActionsSecret
Create a ActionsSecret Resource
new ActionsSecret(name: string, args: ActionsSecretArgs, opts?: CustomResourceOptions);def ActionsSecret(resource_name, opts=None, plaintext_value=None, repository=None, secret_name=None, __props__=None);func NewActionsSecret(ctx *Context, name string, args ActionsSecretArgs, opts ...ResourceOption) (*ActionsSecret, error)public ActionsSecret(string name, ActionsSecretArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ActionsSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ActionsSecretArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ActionsSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ActionsSecret Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ActionsSecret resource accepts the following input properties:
- Plaintext
Value string Plaintext value of the secret to be encrypted
- Repository string
Name of the repository
- Secret
Name string Name of the secret
- Plaintext
Value string Plaintext value of the secret to be encrypted
- Repository string
Name of the repository
- Secret
Name string Name of the secret
- plaintext
Value string Plaintext value of the secret to be encrypted
- repository string
Name of the repository
- secret
Name string Name of the secret
- plaintext_
value str Plaintext value of the secret to be encrypted
- repository str
Name of the repository
- secret_
name str Name of the secret
Outputs
All input properties are implicitly available as output properties. Additionally, the ActionsSecret resource produces the following output properties:
- created_
at str Date of actions_secret creation.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str Date of actions_secret update.
Look up an Existing ActionsSecret Resource
Get an existing ActionsSecret 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?: ActionsSecretState, opts?: CustomResourceOptions): ActionsSecretstatic get(resource_name, id, opts=None, created_at=None, plaintext_value=None, repository=None, secret_name=None, updated_at=None, __props__=None);func GetActionsSecret(ctx *Context, name string, id IDInput, state *ActionsSecretState, opts ...ResourceOption) (*ActionsSecret, error)public static ActionsSecret Get(string name, Input<string> id, ActionsSecretState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Created
At string Date of actions_secret creation.
- Plaintext
Value string Plaintext value of the secret to be encrypted
- Repository string
Name of the repository
- Secret
Name string Name of the secret
- Updated
At string Date of actions_secret update.
- Created
At string Date of actions_secret creation.
- Plaintext
Value string Plaintext value of the secret to be encrypted
- Repository string
Name of the repository
- Secret
Name string Name of the secret
- Updated
At string Date of actions_secret update.
- created
At string Date of actions_secret creation.
- plaintext
Value string Plaintext value of the secret to be encrypted
- repository string
Name of the repository
- secret
Name string Name of the secret
- updated
At string Date of actions_secret update.
- created_
at str Date of actions_secret creation.
- plaintext_
value str Plaintext value of the secret to be encrypted
- repository str
Name of the repository
- secret_
name str Name of the secret
- updated_
at str Date of actions_secret update.
Package Details
- Repository
- https://github.com/pulumi/pulumi-github
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
githubTerraform Provider.