ActionsOrganizationSecretArgs

data class ActionsOrganizationSecretArgs(val encryptedValue: Output<String>? = null, val plaintextValue: Output<String>? = null, val secretName: Output<String>? = null, val selectedRepositoryIds: Output<List<Int>>? = null, val visibility: Output<String>? = null) : ConvertibleToJava<ActionsOrganizationSecretArgs>

Example Usage

Import

This resource can be imported using an ID made up of the secret name:

$ pulumi import github:index/actionsOrganizationSecret:ActionsOrganizationSecret test_secret test_secret_name

NOTE: the implementation is limited in that it won't fetch the value of the plaintext_value or encrypted_value fields when importing. You may need to ignore changes for these as a workaround.

Constructors

Link copied to clipboard
constructor(encryptedValue: Output<String>? = null, plaintextValue: Output<String>? = null, secretName: Output<String>? = null, selectedRepositoryIds: Output<List<Int>>? = null, visibility: Output<String>? = null)

Properties

Link copied to clipboard
val encryptedValue: Output<String>? = null

Encrypted value of the secret using the GitHub public key in Base64 format.

Link copied to clipboard
val plaintextValue: Output<String>? = null

Plaintext value of the secret to be encrypted

Link copied to clipboard
val secretName: Output<String>? = null

Name of the secret

Link copied to clipboard
val selectedRepositoryIds: Output<List<Int>>? = null

An array of repository ids that can access the organization secret.

Link copied to clipboard
val visibility: Output<String>? = null

Configures the access that repositories have to the organization secret. Must be one of all, private, selected. selected_repository_ids is required if set to selected.

Functions

Link copied to clipboard
open override fun toJava(): ActionsOrganizationSecretArgs