Class GetActionsPublicKey
Inheritance
System.Object
GetActionsPublicKey
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Github
Assembly: Pulumi.Github.dll
Syntax
public static class GetActionsPublicKey
Methods
View SourceInvokeAsync(GetActionsPublicKeyArgs, InvokeOptions)
Use this data source to retrieve information about a GitHub Actions public key. This data source is required to be used with other GitHub secrets interactions.
Note that the provider token must have admin rights to a repository to retrieve it's action public key.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Github = Pulumi.Github;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Github.GetActionsPublicKey.InvokeAsync(new Github.GetActionsPublicKeyArgs
{
Repository = "example_repo",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetActionsPublicKeyResult> InvokeAsync(GetActionsPublicKeyArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetActionsPublicKeyArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetActionsPublicKeyResult> |