github.getDependabotOrganizationSecrets

Use this data source to retrieve the list of dependabot secrets of the organization.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Github = Pulumi.Github;

return await Deployment.RunAsync(() => 
{
    var example = Github.GetDependabotOrganizationSecrets.Invoke();

});
package main

import (
	"github.com/pulumi/pulumi-github/sdk/v5/go/github"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetDependabotOrganizationSecrets(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.GithubFunctions;
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.getDependabotOrganizationSecrets();

    }
}
import pulumi
import pulumi_github as github

example = github.get_dependabot_organization_secrets()
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";

const example = github.getDependabotOrganizationSecrets({});
variables:
  example:
    fn::invoke:
      Function: github:getDependabotOrganizationSecrets
      Arguments: {}

Using getDependabotOrganizationSecrets

function getDependabotOrganizationSecrets(opts?: InvokeOptions): Promise<GetDependabotOrganizationSecretsResult>
def get_dependabot_organization_secrets(opts: Optional[InvokeOptions] = None) -> GetDependabotOrganizationSecretsResult
func GetDependabotOrganizationSecrets(ctx *Context, opts ...InvokeOption) (*GetDependabotOrganizationSecretsResult, error)

> Note: This function is named GetDependabotOrganizationSecrets in the Go SDK.

public static class GetDependabotOrganizationSecrets 
{
    public static Task<GetDependabotOrganizationSecretsResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetDependabotOrganizationSecretsResult> getDependabotOrganizationSecrets(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: github:index/getDependabotOrganizationSecrets:getDependabotOrganizationSecrets
  arguments:
    # arguments dictionary

getDependabotOrganizationSecrets Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Secrets List<GetDependabotOrganizationSecretsSecret>

list of secrets for the repository

Id string

The provider-assigned unique ID for this managed resource.

Secrets []GetDependabotOrganizationSecretsSecret

list of secrets for the repository

id String

The provider-assigned unique ID for this managed resource.

secrets List<GetDependabotOrganizationSecretsSecret>

list of secrets for the repository

id string

The provider-assigned unique ID for this managed resource.

secrets GetDependabotOrganizationSecretsSecret[]

list of secrets for the repository

id str

The provider-assigned unique ID for this managed resource.

secrets Sequence[GetDependabotOrganizationSecretsSecret]

list of secrets for the repository

id String

The provider-assigned unique ID for this managed resource.

secrets List<Property Map>

list of secrets for the repository

Supporting Types

GetDependabotOrganizationSecretsSecret

CreatedAt string

Timestamp of the secret creation

Name string

Secret name

UpdatedAt string

Timestamp of the secret last update

Visibility string

Secret visibility

CreatedAt string

Timestamp of the secret creation

Name string

Secret name

UpdatedAt string

Timestamp of the secret last update

Visibility string

Secret visibility

createdAt String

Timestamp of the secret creation

name String

Secret name

updatedAt String

Timestamp of the secret last update

visibility String

Secret visibility

createdAt string

Timestamp of the secret creation

name string

Secret name

updatedAt string

Timestamp of the secret last update

visibility string

Secret visibility

created_at str

Timestamp of the secret creation

name str

Secret name

updated_at str

Timestamp of the secret last update

visibility str

Secret visibility

createdAt String

Timestamp of the secret creation

name String

Secret name

updatedAt String

Timestamp of the secret last update

visibility String

Secret visibility

Package Details

Repository
GitHub pulumi/pulumi-github
License
Apache-2.0
Notes

This Pulumi package is based on the github Terraform Provider.