ActionsEnvironmentSecretArgs

data class ActionsEnvironmentSecretArgs(val encryptedValue: Output<String>? = null, val environment: Output<String>? = null, val plaintextValue: Output<String>? = null, val repository: Output<String>? = null, val secretName: Output<String>? = null) : ConvertibleToJava<ActionsEnvironmentSecretArgs>

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.ActionsEnvironmentSecret;
import com.pulumi.github.ActionsEnvironmentSecretArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleSecretActionsEnvironmentSecret = new ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", ActionsEnvironmentSecretArgs.builder()
.environment("example_environment")
.secretName("example_secret_name")
.plaintextValue(var_.some_secret_string())
.build());
var exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", ActionsEnvironmentSecretArgs.builder()
.environment("example_environment")
.secretName("example_secret_name")
.encryptedValue(var_.some_encrypted_secret_string())
.build());
}
}

Import

This resource does not support importing. If you'd like to help contribute it, please visit our GitHub page!

Constructors

Link copied to clipboard
constructor(encryptedValue: Output<String>? = null, environment: Output<String>? = null, plaintextValue: Output<String>? = null, repository: Output<String>? = null, secretName: 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 environment: Output<String>? = null

Name of the environment.

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

Plaintext value of the secret to be encrypted.

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

Name of the repository.

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

Name of the secret.

Functions

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