1. Packages
  2. Grafana Cloud
  3. API Docs
  4. enterprise
  5. enterprise/v1beta1
  6. SecretKeeper
Viewing docs for Grafana v2.23.0
published on Wednesday, Apr 1, 2026 by pulumiverse
grafana logo
Viewing docs for Grafana v2.23.0
published on Wednesday, Apr 1, 2026 by pulumiverse

    Manages a Secrets Management keeper.

    Create SecretKeeper Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecretKeeper(name: string, args?: SecretKeeperArgs, opts?: CustomResourceOptions);
    @overload
    def SecretKeeper(resource_name: str,
                     args: Optional[SecretKeeperArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecretKeeper(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     metadata: Optional[SecretKeeperMetadataArgs] = None,
                     options: Optional[SecretKeeperOptionsArgs] = None,
                     spec: Optional[SecretKeeperSpecArgs] = None)
    func NewSecretKeeper(ctx *Context, name string, args *SecretKeeperArgs, opts ...ResourceOption) (*SecretKeeper, error)
    public SecretKeeper(string name, SecretKeeperArgs? args = null, CustomResourceOptions? opts = null)
    public SecretKeeper(String name, SecretKeeperArgs args)
    public SecretKeeper(String name, SecretKeeperArgs args, CustomResourceOptions options)
    
    type: grafana:enterprise/v1beta1/secretKeeper:SecretKeeper
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SecretKeeperArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecretKeeperArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecretKeeperArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecretKeeperArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecretKeeperArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SecretKeeper Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SecretKeeper resource accepts the following input properties:

    Metadata SecretKeeperMetadataArgs
    The metadata of the resource.
    Options SecretKeeperOptionsArgs
    Options for applying the resource.
    Spec SecretKeeperSpecArgs
    The spec of the resource.
    metadata SecretKeeperMetadata
    The metadata of the resource.
    options SecretKeeperOptions
    Options for applying the resource.
    spec SecretKeeperSpec
    The spec of the resource.
    metadata SecretKeeperMetadata
    The metadata of the resource.
    options SecretKeeperOptions
    Options for applying the resource.
    spec SecretKeeperSpec
    The spec of the resource.
    metadata SecretKeeperMetadataArgs
    The metadata of the resource.
    options SecretKeeperOptionsArgs
    Options for applying the resource.
    spec SecretKeeperSpecArgs
    The spec of the resource.
    metadata Property Map
    The metadata of the resource.
    options Property Map
    Options for applying the resource.
    spec Property Map
    The spec of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecretKeeper resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SecretKeeper Resource

    Get an existing SecretKeeper resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SecretKeeperState, opts?: CustomResourceOptions): SecretKeeper
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            metadata: Optional[SecretKeeperMetadataArgs] = None,
            options: Optional[SecretKeeperOptionsArgs] = None,
            spec: Optional[SecretKeeperSpecArgs] = None) -> SecretKeeper
    func GetSecretKeeper(ctx *Context, name string, id IDInput, state *SecretKeeperState, opts ...ResourceOption) (*SecretKeeper, error)
    public static SecretKeeper Get(string name, Input<string> id, SecretKeeperState? state, CustomResourceOptions? opts = null)
    public static SecretKeeper get(String name, Output<String> id, SecretKeeperState state, CustomResourceOptions options)
    resources:  _:    type: grafana:enterprise/v1beta1/secretKeeper:SecretKeeper    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Metadata SecretKeeperMetadataArgs
    The metadata of the resource.
    Options SecretKeeperOptionsArgs
    Options for applying the resource.
    Spec SecretKeeperSpecArgs
    The spec of the resource.
    metadata SecretKeeperMetadata
    The metadata of the resource.
    options SecretKeeperOptions
    Options for applying the resource.
    spec SecretKeeperSpec
    The spec of the resource.
    metadata SecretKeeperMetadata
    The metadata of the resource.
    options SecretKeeperOptions
    Options for applying the resource.
    spec SecretKeeperSpec
    The spec of the resource.
    metadata SecretKeeperMetadataArgs
    The metadata of the resource.
    options SecretKeeperOptionsArgs
    Options for applying the resource.
    spec SecretKeeperSpecArgs
    The spec of the resource.
    metadata Property Map
    The metadata of the resource.
    options Property Map
    Options for applying the resource.
    spec Property Map
    The spec of the resource.

    Supporting Types

    SecretKeeperMetadata, SecretKeeperMetadataArgs

    Uid string
    The unique identifier of the resource.
    Annotations Dictionary<string, string>
    Annotations of the resource.
    FolderUid string
    The UID of the folder to save the resource in.
    Url string
    The full URL of the resource.
    Uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    Version string
    The version of the resource.
    Uid string
    The unique identifier of the resource.
    Annotations map[string]string
    Annotations of the resource.
    FolderUid string
    The UID of the folder to save the resource in.
    Url string
    The full URL of the resource.
    Uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    Version string
    The version of the resource.
    uid String
    The unique identifier of the resource.
    annotations Map<String,String>
    Annotations of the resource.
    folderUid String
    The UID of the folder to save the resource in.
    url String
    The full URL of the resource.
    uuid String
    The globally unique identifier of a resource, used by the API for tracking.
    version String
    The version of the resource.
    uid string
    The unique identifier of the resource.
    annotations {[key: string]: string}
    Annotations of the resource.
    folderUid string
    The UID of the folder to save the resource in.
    url string
    The full URL of the resource.
    uuid string
    The globally unique identifier of a resource, used by the API for tracking.
    version string
    The version of the resource.
    uid str
    The unique identifier of the resource.
    annotations Mapping[str, str]
    Annotations of the resource.
    folder_uid str
    The UID of the folder to save the resource in.
    url str
    The full URL of the resource.
    uuid str
    The globally unique identifier of a resource, used by the API for tracking.
    version str
    The version of the resource.
    uid String
    The unique identifier of the resource.
    annotations Map<String>
    Annotations of the resource.
    folderUid String
    The UID of the folder to save the resource in.
    url String
    The full URL of the resource.
    uuid String
    The globally unique identifier of a resource, used by the API for tracking.
    version String
    The version of the resource.

    SecretKeeperOptions, SecretKeeperOptionsArgs

    Overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    Overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite Boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite bool
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
    overwrite Boolean
    Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.

    SecretKeeperSpec, SecretKeeperSpecArgs

    Aws Pulumiverse.Grafana.Enterprise.V1Beta1.Inputs.SecretKeeperSpecAws
    AWS Secrets Manager configuration.
    Description string
    Keeper description.
    Aws SecretKeeperSpecAws
    AWS Secrets Manager configuration.
    Description string
    Keeper description.
    aws SecretKeeperSpecAws
    AWS Secrets Manager configuration.
    description String
    Keeper description.
    aws SecretKeeperSpecAws
    AWS Secrets Manager configuration.
    description string
    Keeper description.
    aws SecretKeeperSpecAws
    AWS Secrets Manager configuration.
    description str
    Keeper description.
    aws Property Map
    AWS Secrets Manager configuration.
    description String
    Keeper description.

    SecretKeeperSpecAws, SecretKeeperSpecAwsArgs

    Region string
    AWS region.
    AssumeRole SecretKeeperSpecAwsAssumeRole
    IAM role assumption configuration.
    region String
    AWS region.
    assumeRole SecretKeeperSpecAwsAssumeRole
    IAM role assumption configuration.
    region string
    AWS region.
    assumeRole SecretKeeperSpecAwsAssumeRole
    IAM role assumption configuration.
    region str
    AWS region.
    assume_role SecretKeeperSpecAwsAssumeRole
    IAM role assumption configuration.
    region String
    AWS region.
    assumeRole Property Map
    IAM role assumption configuration.

    SecretKeeperSpecAwsAssumeRole, SecretKeeperSpecAwsAssumeRoleArgs

    AssumeRoleArn string
    Assume role ARN.
    ExternalId string
    Assume role external ID.
    AssumeRoleArn string
    Assume role ARN.
    ExternalId string
    Assume role external ID.
    assumeRoleArn String
    Assume role ARN.
    externalId String
    Assume role external ID.
    assumeRoleArn string
    Assume role ARN.
    externalId string
    Assume role external ID.
    assume_role_arn str
    Assume role ARN.
    external_id str
    Assume role external ID.
    assumeRoleArn String
    Assume role ARN.
    externalId String
    Assume role external ID.

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Viewing docs for Grafana v2.23.0
    published on Wednesday, Apr 1, 2026 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.