getActionsEnvironmentSecrets

Use this data source to retrieve the list of secrets of the repository environment.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.GithubFunctions;
import com.pulumi.github.inputs.GetActionsEnvironmentSecretsArgs;
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) {
final var example = GithubFunctions.getActionsEnvironmentSecrets(GetActionsEnvironmentSecretsArgs.builder()
.environment("exampleEnvironment")
.name("exampleRepo")
.build());
}
}

Return

A collection of values returned by getActionsEnvironmentSecrets.

Parameters

argument

A collection of arguments for invoking getActionsEnvironmentSecrets.


suspend fun getActionsEnvironmentSecrets(environment: String, fullName: String? = null, name: String? = null): GetActionsEnvironmentSecretsResult

Return

A collection of values returned by getActionsEnvironmentSecrets.

Parameters

environment
fullName
name

Name of the secret

See also


Return

A collection of values returned by getActionsEnvironmentSecrets.

Parameters

argument

Builder for com.pulumi.github.kotlin.inputs.GetActionsEnvironmentSecretsPlainArgs.

See also