Titan Core
  • Overview
  • Getting Started
  • Working With Resources
  • Blueprint
  • GitHub Action
  • Resources
    • APIAuthenticationSecurityIntegration
    • APIIntegration
    • AccountParameter
    • AggregationPolicy
    • Alert
    • AuthenticationPolicy
    • AzureStorageIntegration
    • ComputePool
    • Database
    • DatabaseRole
    • DynamicTable
    • EmailNotificationIntegration
    • EventTable
    • ExternalAccessIntegration
    • ExternalStage
    • FailoverGroup
    • FutureGrant
    • GCSStorageIntegration
    • GenericSecret
    • GlueCatalogIntegration
    • Grant
    • GrantOnAll
    • HybridTable
    • ImageRepository
    • InternalStage
    • JSONFileFormat
    • JavascriptUDF
    • MaterializedView
    • NetworkPolicy
    • NetworkRule
    • OAuthSecret
    • ObjectStoreCatalogIntegration
    • PackagesPolicy
    • ParquetFileFormat
    • PasswordPolicy
    • PasswordSecret
    • Pipe
    • PythonStoredProcedure
    • PythonUDF
    • ReplicationGroup
    • ResourceMonitor
    • Role
    • RoleGrant
    • S3StorageIntegration
    • Schema
    • Sequence
    • Service
    • SessionPolicy
    • Share
    • SnowflakePartnerOAuthSecurityIntegration
    • SnowservicesOAuthSecurityIntegration
    • StageStream
    • Table
    • TableStream
    • Tag
    • Task
    • User
    • View
    • ViewStream
    • Warehouse
Powered by GitBook
On this page
  • Examples
  • Python
  • YAML
  • Fields
  1. Resources

PasswordSecret

PreviousPasswordPolicyNextPipe

Last updated 10 months ago

A Secret defines a set of sensitive data that can be used for authentication or other purposes. This class defines a password secret.

Examples

Python

secret = PasswordSecret(
    name="some_secret",
    username="some_username",
    password="some_password",
    comment="some_comment",
    owner="SYSADMIN",
)

YAML

secrets:
  - name: some_secret
    secret_type: PASSWORD
    username: some_username
    password: some_password
    comment: some_comment
    owner: SYSADMIN

Fields

  • name (string, required) - The name of the secret.

  • username (string) - The username for the secret.

  • password (string) - The password for the secret.

  • comment (string) - A comment for the secret.

owner (string or ) - The owner of the secret. Defaults to SYSADMIN.

Snowflake Documentation
Role