Actions Environment Secret Args
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());
}
}
Content copied to clipboard
Import
This resource does not support importing. If you'd like to help contribute it, please visit our GitHub page!
Constructors
Properties
Link copied to clipboard
Encrypted value of the secret using the GitHub public key in Base64 format.
Link copied to clipboard
Name of the environment.
Link copied to clipboard
Plaintext value of the secret to be encrypted.
Link copied to clipboard
Name of the repository.
Link copied to clipboard
Name of the secret.