snowflake logo
Snowflake v0.15.0, Jan 1 01

snowflake.getGrants

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var grants = Snowflake.GetGrants.Invoke(new()
    {
        GrantsOn = new Snowflake.Inputs.GetGrantsGrantsOnInputArgs
        {
            Account = true,
        },
    });

    var grants2 = Snowflake.GetGrants.Invoke(new()
    {
        GrantsOn = new Snowflake.Inputs.GetGrantsGrantsOnInputArgs
        {
            ObjectName = "\"tst\"",
            ObjectType = "DATABASE",
        },
    });

    var grants3 = Snowflake.GetGrants.Invoke(new()
    {
        GrantsTo = new Snowflake.Inputs.GetGrantsGrantsToInputArgs
        {
            Role = "ACCOUNTADMIN",
        },
    });

    var grants4 = Snowflake.GetGrants.Invoke(new()
    {
        GrantsOf = new Snowflake.Inputs.GetGrantsGrantsOfInputArgs
        {
            Role = "ACCOUNTADMIN",
        },
    });

    var grants5 = Snowflake.GetGrants.Invoke(new()
    {
        FutureGrantsIn = new Snowflake.Inputs.GetGrantsFutureGrantsInInputArgs
        {
            Database = "\"tst\"",
        },
    });

    var grants6 = Snowflake.GetGrants.Invoke(new()
    {
        FutureGrantsIn = new Snowflake.Inputs.GetGrantsFutureGrantsInInputArgs
        {
            Schema = new Snowflake.Inputs.GetGrantsFutureGrantsInSchemaInputArgs
            {
                DatabaseName = "\"mydatabase\"",
                SchemaName = "\"myschema\"",
            },
        },
    });

    var grants7 = Snowflake.GetGrants.Invoke(new()
    {
        FutureGrantsTo = new Snowflake.Inputs.GetGrantsFutureGrantsToInputArgs
        {
            Role = "ACCOUNTADMIN",
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := snowflake.GetGrants(ctx, &GetGrantsArgs{
			GrantsOn: GetGrantsGrantsOn{
				Account: pulumi.BoolRef(true),
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = snowflake.GetGrants(ctx, &GetGrantsArgs{
			GrantsOn: GetGrantsGrantsOn{
				ObjectName: pulumi.StringRef("\"tst\""),
				ObjectType: pulumi.StringRef("DATABASE"),
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = snowflake.GetGrants(ctx, &GetGrantsArgs{
			GrantsTo: GetGrantsGrantsTo{
				Role: pulumi.StringRef("ACCOUNTADMIN"),
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = snowflake.GetGrants(ctx, &GetGrantsArgs{
			GrantsOf: GetGrantsGrantsOf{
				Role: pulumi.StringRef("ACCOUNTADMIN"),
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = snowflake.GetGrants(ctx, &GetGrantsArgs{
			FutureGrantsIn: GetGrantsFutureGrantsIn{
				Database: pulumi.StringRef("\"tst\""),
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = snowflake.GetGrants(ctx, &GetGrantsArgs{
			FutureGrantsIn: GetGrantsFutureGrantsIn{
				Schema: GetGrantsFutureGrantsInSchema{
					DatabaseName: pulumi.StringRef("\"mydatabase\""),
					SchemaName:   "\"myschema\"",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = snowflake.GetGrants(ctx, &GetGrantsArgs{
			FutureGrantsTo: GetGrantsFutureGrantsTo{
				Role: "ACCOUNTADMIN",
			},
		}, 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.snowflake.SnowflakeFunctions;
import com.pulumi.snowflake.inputs.GetGrantsArgs;
import com.pulumi.snowflake.inputs.GetGrantsGrantsOnArgs;
import com.pulumi.snowflake.inputs.GetGrantsGrantsToArgs;
import com.pulumi.snowflake.inputs.GetGrantsGrantsOfArgs;
import com.pulumi.snowflake.inputs.GetGrantsFutureGrantsInArgs;
import com.pulumi.snowflake.inputs.GetGrantsFutureGrantsInSchemaArgs;
import com.pulumi.snowflake.inputs.GetGrantsFutureGrantsToArgs;
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 grants = SnowflakeFunctions.getGrants(GetGrantsArgs.builder()
            .grantsOn(GetGrantsGrantsOnArgs.builder()
                .account(true)
                .build())
            .build());

        final var grants2 = SnowflakeFunctions.getGrants(GetGrantsArgs.builder()
            .grantsOn(GetGrantsGrantsOnArgs.builder()
                .objectName("\"tst\"")
                .objectType("DATABASE")
                .build())
            .build());

        final var grants3 = SnowflakeFunctions.getGrants(GetGrantsArgs.builder()
            .grantsTo(GetGrantsGrantsToArgs.builder()
                .role("ACCOUNTADMIN")
                .build())
            .build());

        final var grants4 = SnowflakeFunctions.getGrants(GetGrantsArgs.builder()
            .grantsOf(GetGrantsGrantsOfArgs.builder()
                .role("ACCOUNTADMIN")
                .build())
            .build());

        final var grants5 = SnowflakeFunctions.getGrants(GetGrantsArgs.builder()
            .futureGrantsIn(GetGrantsFutureGrantsInArgs.builder()
                .database("\"tst\"")
                .build())
            .build());

        final var grants6 = SnowflakeFunctions.getGrants(GetGrantsArgs.builder()
            .futureGrantsIn(GetGrantsFutureGrantsInArgs.builder()
                .schema(GetGrantsFutureGrantsInSchemaArgs.builder()
                    .databaseName("\"mydatabase\"")
                    .schemaName("\"myschema\"")
                    .build())
                .build())
            .build());

        final var grants7 = SnowflakeFunctions.getGrants(GetGrantsArgs.builder()
            .futureGrantsTo(GetGrantsFutureGrantsToArgs.builder()
                .role("ACCOUNTADMIN")
                .build())
            .build());

    }
}
import pulumi
import pulumi_snowflake as snowflake

grants = snowflake.get_grants(grants_on=snowflake.GetGrantsGrantsOnArgs(
    account=True,
))
grants2 = snowflake.get_grants(grants_on=snowflake.GetGrantsGrantsOnArgs(
    object_name="\"tst\"",
    object_type="DATABASE",
))
grants3 = snowflake.get_grants(grants_to=snowflake.GetGrantsGrantsToArgs(
    role="ACCOUNTADMIN",
))
grants4 = snowflake.get_grants(grants_of=snowflake.GetGrantsGrantsOfArgs(
    role="ACCOUNTADMIN",
))
grants5 = snowflake.get_grants(future_grants_in=snowflake.GetGrantsFutureGrantsInArgs(
    database="\"tst\"",
))
grants6 = snowflake.get_grants(future_grants_in=snowflake.GetGrantsFutureGrantsInArgs(
    schema=snowflake.GetGrantsFutureGrantsInSchemaArgs(
        database_name="\"mydatabase\"",
        schema_name="\"myschema\"",
    ),
))
grants7 = snowflake.get_grants(future_grants_to=snowflake.GetGrantsFutureGrantsToArgs(
    role="ACCOUNTADMIN",
))
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";

// list all grants on account
const grants = pulumi.output(snowflake.getGrants({
    grantsOn: {
        account: true,
    },
}));
// list all grants in database with name "tst"
const grants2 = pulumi.output(snowflake.getGrants({
    grantsOn: {
        objectName: "\"tst\"",
        objectType: "DATABASE",
    },
}));
// list all grants to role with name "ACCOUNTADMIN"
const grants3 = pulumi.output(snowflake.getGrants({
    grantsTo: {
        role: "ACCOUNTADMIN",
    },
}));
// list all grants of role with name "ACCOUNTADMIN"
const grants4 = pulumi.output(snowflake.getGrants({
    grantsOf: {
        role: "ACCOUNTADMIN",
    },
}));
// list all grants in database with name "tst"
const grants5 = pulumi.output(snowflake.getGrants({
    futureGrantsIn: {
        database: "\"tst\"",
    },
}));
// list all future grants in schema with name "mydatabase" and database with name "myschema"
const grants6 = pulumi.output(snowflake.getGrants({
    futureGrantsIn: {
        schema: {
            databaseName: "\"mydatabase\"",
            schemaName: "\"myschema\"",
        },
    },
}));
// list all future grants to role with name "ACCOUNTADMIN"
const grants7 = pulumi.output(snowflake.getGrants({
    futureGrantsTo: {
        role: "ACCOUNTADMIN",
    },
}));
variables:
  grants:
    Fn::Invoke:
      Function: snowflake:getGrants
      Arguments:
        grantsOn:
          account: true
  grants2:
    Fn::Invoke:
      Function: snowflake:getGrants
      Arguments:
        grantsOn:
          objectName: '"tst"'
          objectType: DATABASE
  grants3:
    Fn::Invoke:
      Function: snowflake:getGrants
      Arguments:
        grantsTo:
          role: ACCOUNTADMIN
  grants4:
    Fn::Invoke:
      Function: snowflake:getGrants
      Arguments:
        grantsOf:
          role: ACCOUNTADMIN
  grants5:
    Fn::Invoke:
      Function: snowflake:getGrants
      Arguments:
        futureGrantsIn:
          database: '"tst"'
  grants6:
    Fn::Invoke:
      Function: snowflake:getGrants
      Arguments:
        futureGrantsIn:
          schema:
            databaseName: '"mydatabase"'
            schemaName: '"myschema"'
  grants7:
    Fn::Invoke:
      Function: snowflake:getGrants
      Arguments:
        futureGrantsTo:
          role: ACCOUNTADMIN

Using getGrants

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGrants(args: GetGrantsArgs, opts?: InvokeOptions): Promise<GetGrantsResult>
function getGrantsOutput(args: GetGrantsOutputArgs, opts?: InvokeOptions): Output<GetGrantsResult>
def get_grants(future_grants_in: Optional[GetGrantsFutureGrantsIn] = None,
               future_grants_to: Optional[GetGrantsFutureGrantsTo] = None,
               grants_of: Optional[GetGrantsGrantsOf] = None,
               grants_on: Optional[GetGrantsGrantsOn] = None,
               grants_to: Optional[GetGrantsGrantsTo] = None,
               opts: Optional[InvokeOptions] = None) -> GetGrantsResult
def get_grants_output(future_grants_in: Optional[pulumi.Input[GetGrantsFutureGrantsInArgs]] = None,
               future_grants_to: Optional[pulumi.Input[GetGrantsFutureGrantsToArgs]] = None,
               grants_of: Optional[pulumi.Input[GetGrantsGrantsOfArgs]] = None,
               grants_on: Optional[pulumi.Input[GetGrantsGrantsOnArgs]] = None,
               grants_to: Optional[pulumi.Input[GetGrantsGrantsToArgs]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetGrantsResult]
func GetGrants(ctx *Context, args *GetGrantsArgs, opts ...InvokeOption) (*GetGrantsResult, error)
func GetGrantsOutput(ctx *Context, args *GetGrantsOutputArgs, opts ...InvokeOption) GetGrantsResultOutput

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

public static class GetGrants 
{
    public static Task<GetGrantsResult> InvokeAsync(GetGrantsArgs args, InvokeOptions? opts = null)
    public static Output<GetGrantsResult> Invoke(GetGrantsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGrantsResult> getGrants(GetGrantsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: snowflake:index/getGrants:getGrants
  arguments:
    # arguments dictionary

The following arguments are supported:

FutureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

FutureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

GrantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

GrantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

GrantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

FutureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

FutureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

GrantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

GrantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

GrantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

futureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

futureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

grantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

grantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

grantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

futureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

futureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

grantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

grantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

grantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

future_grants_in GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

future_grants_to GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

grants_of GetGrantsGrantsOf

Lists all objects to which the given object has been granted

grants_on GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

grants_to GetGrantsGrantsTo

Lists all privileges granted to the object

futureGrantsIn Property Map

Lists all privileges on new (i.e. future) objects

futureGrantsTo Property Map

Lists all privileges granted to the object on new (i.e. future) objects

grantsOf Property Map

Lists all objects to which the given object has been granted

grantsOn Property Map

Lists all privileges that have been granted on an object or account

grantsTo Property Map

Lists all privileges granted to the object

getGrants Result

The following output properties are available:

Grants List<GetGrantsGrant>

The list of grants

Id string

The provider-assigned unique ID for this managed resource.

FutureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

FutureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

GrantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

GrantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

GrantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

Grants []GetGrantsGrant

The list of grants

Id string

The provider-assigned unique ID for this managed resource.

FutureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

FutureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

GrantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

GrantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

GrantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

grants List<GetGrantsGrant>

The list of grants

id String

The provider-assigned unique ID for this managed resource.

futureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

futureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

grantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

grantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

grantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

grants GetGrantsGrant[]

The list of grants

id string

The provider-assigned unique ID for this managed resource.

futureGrantsIn GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

futureGrantsTo GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

grantsOf GetGrantsGrantsOf

Lists all objects to which the given object has been granted

grantsOn GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

grantsTo GetGrantsGrantsTo

Lists all privileges granted to the object

grants Sequence[GetGrantsGrant]

The list of grants

id str

The provider-assigned unique ID for this managed resource.

future_grants_in GetGrantsFutureGrantsIn

Lists all privileges on new (i.e. future) objects

future_grants_to GetGrantsFutureGrantsTo

Lists all privileges granted to the object on new (i.e. future) objects

grants_of GetGrantsGrantsOf

Lists all objects to which the given object has been granted

grants_on GetGrantsGrantsOn

Lists all privileges that have been granted on an object or account

grants_to GetGrantsGrantsTo

Lists all privileges granted to the object

grants List<Property Map>

The list of grants

id String

The provider-assigned unique ID for this managed resource.

futureGrantsIn Property Map

Lists all privileges on new (i.e. future) objects

futureGrantsTo Property Map

Lists all privileges granted to the object on new (i.e. future) objects

grantsOf Property Map

Lists all objects to which the given object has been granted

grantsOn Property Map

Lists all privileges that have been granted on an object or account

grantsTo Property Map

Lists all privileges granted to the object

Supporting Types

GetGrantsFutureGrantsIn

Database string

Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.

Schema GetGrantsFutureGrantsInSchema

Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role.

Database string

Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.

Schema GetGrantsFutureGrantsInSchema

Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role.

database String

Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.

schema GetGrantsFutureGrantsInSchema

Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role.

database string

Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.

schema GetGrantsFutureGrantsInSchema

Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role.

database str

Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.

schema GetGrantsFutureGrantsInSchema

Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role.

database String

Lists all privileges on new (i.e. future) objects of a specified type in the database granted to a role.

schema Property Map

Lists all privileges on new (i.e. future) objects of a specified type in the schema granted to a role.

GetGrantsFutureGrantsInSchema

GetGrantsFutureGrantsTo

Role string

Lists all privileges on new (i.e. future) objects of a specified type in a database or schema granted to the role.

Role string

Lists all privileges on new (i.e. future) objects of a specified type in a database or schema granted to the role.

role String

Lists all privileges on new (i.e. future) objects of a specified type in a database or schema granted to the role.

role string

Lists all privileges on new (i.e. future) objects of a specified type in a database or schema granted to the role.

role str

Lists all privileges on new (i.e. future) objects of a specified type in a database or schema granted to the role.

role String

Lists all privileges on new (i.e. future) objects of a specified type in a database or schema granted to the role.

GetGrantsGrant

CreatedOn string
GrantOption bool
GrantedBy string
GrantedOn string
GrantedTo string
GranteeName string
Name string
Privilege string
CreatedOn string
GrantOption bool
GrantedBy string
GrantedOn string
GrantedTo string
GranteeName string
Name string
Privilege string
createdOn String
grantOption Boolean
grantedBy String
grantedOn String
grantedTo String
granteeName String
name String
privilege String
createdOn string
grantOption boolean
grantedBy string
grantedOn string
grantedTo string
granteeName string
name string
privilege string
createdOn String
grantOption Boolean
grantedBy String
grantedOn String
grantedTo String
granteeName String
name String
privilege String

GetGrantsGrantsOf

Role string

Lists all users and roles to which the role has been granted

Share string

Lists all the accounts for the share and indicates the accounts that are using the share.

Role string

Lists all users and roles to which the role has been granted

Share string

Lists all the accounts for the share and indicates the accounts that are using the share.

role String

Lists all users and roles to which the role has been granted

share String

Lists all the accounts for the share and indicates the accounts that are using the share.

role string

Lists all users and roles to which the role has been granted

share string

Lists all the accounts for the share and indicates the accounts that are using the share.

role str

Lists all users and roles to which the role has been granted

share str

Lists all the accounts for the share and indicates the accounts that are using the share.

role String

Lists all users and roles to which the role has been granted

share String

Lists all the accounts for the share and indicates the accounts that are using the share.

GetGrantsGrantsOn

Account bool

Object hierarchy to list privileges on. The only valid value is: ACCOUNT. Setting this attribute lists all the account-level (i.e. global) privileges that have been granted to roles.

ObjectName string

Name of object to list privileges on

ObjectType string

Type of object to list privileges on.

Account bool

Object hierarchy to list privileges on. The only valid value is: ACCOUNT. Setting this attribute lists all the account-level (i.e. global) privileges that have been granted to roles.

ObjectName string

Name of object to list privileges on

ObjectType string

Type of object to list privileges on.

account Boolean

Object hierarchy to list privileges on. The only valid value is: ACCOUNT. Setting this attribute lists all the account-level (i.e. global) privileges that have been granted to roles.

objectName String

Name of object to list privileges on

objectType String

Type of object to list privileges on.

account boolean

Object hierarchy to list privileges on. The only valid value is: ACCOUNT. Setting this attribute lists all the account-level (i.e. global) privileges that have been granted to roles.

objectName string

Name of object to list privileges on

objectType string

Type of object to list privileges on.

account bool

Object hierarchy to list privileges on. The only valid value is: ACCOUNT. Setting this attribute lists all the account-level (i.e. global) privileges that have been granted to roles.

object_name str

Name of object to list privileges on

object_type str

Type of object to list privileges on.

account Boolean

Object hierarchy to list privileges on. The only valid value is: ACCOUNT. Setting this attribute lists all the account-level (i.e. global) privileges that have been granted to roles.

objectName String

Name of object to list privileges on

objectType String

Type of object to list privileges on.

GetGrantsGrantsTo

Role string

Lists all privileges and roles granted to the role

Share string

Lists all the privileges granted to the share

User string

Lists all the roles granted to the user. Note that the PUBLIC role, which is automatically available to every user, is not listed

Role string

Lists all privileges and roles granted to the role

Share string

Lists all the privileges granted to the share

User string

Lists all the roles granted to the user. Note that the PUBLIC role, which is automatically available to every user, is not listed

role String

Lists all privileges and roles granted to the role

share String

Lists all the privileges granted to the share

user String

Lists all the roles granted to the user. Note that the PUBLIC role, which is automatically available to every user, is not listed

role string

Lists all privileges and roles granted to the role

share string

Lists all the privileges granted to the share

user string

Lists all the roles granted to the user. Note that the PUBLIC role, which is automatically available to every user, is not listed

role str

Lists all privileges and roles granted to the role

share str

Lists all the privileges granted to the share

user str

Lists all the roles granted to the user. Note that the PUBLIC role, which is automatically available to every user, is not listed

role String

Lists all privileges and roles granted to the role

share String

Lists all the privileges granted to the share

user String

Lists all the roles granted to the user. Note that the PUBLIC role, which is automatically available to every user, is not listed

Package Details

Repository
Snowflake pulumi/pulumi-snowflake
License
Apache-2.0
Notes

This Pulumi package is based on the snowflake Terraform Provider.