Cosmocloud Build Documentation
DocumentationTutorials
  • Welcome to Cosmocloud
  • Getting Started
    • 1. Organisations
    • 2. Projects
    • 3. Connect your Database
    • 4. Create Database Models
    • 5. Create APIs
    • 6. Testing Free Tier APIs
  • Free Tier
    • Connecting with MongoDB Data APIs
  • Templates
    • CRUD APIs
    • Entity Search APIs
    • Fetch / Upload Media APIs
  • Examples - How To?
    • Making an external API call
    • Reusable Flows - SubFlows
    • Creating Custom Error Responses
    • Flow Builder - Building Conditional Logics
    • Flow Builder - Utilising Loops
    • Creating Dynamic Queries
    • Accessing Auth Tokens in APIs
    • How to upload/download media in Object Storage
  • Resources
    • APIs
      • Checking Logs
    • SubFlows
    • Models
      • Building Models
    • Environments
      • Environment Tier Types
    • Secrets
      • Custom Secrets
    • Databases
    • Releases
    • Vector Search
      • Create a Vector Search Index
      • Edit a Vector Search Index
      • Delete a Vector Search Index
    • Document Search
      • Full Text Search
        • Concepts
          • Indexing in full-text search
          • Data processing using Analyzers
        • Create a Search Index
        • Creating a Custom Analyzer
        • Full Text Search FAQ
      • Vector Search
    • Object Storage
  • Flow Builder
    • Node Types
      • Trigger Nodes
        • HTTP Response
      • Conditional Nodes
        • If Else
        • If Else V2
        • Switch Case
      • Crypto Nodes
        • PBKDF2 Hmac Hash
      • Debug Node
      • Database Nodes
        • Delete One
        • Delete Many
        • Fetch By ID
        • Find One
        • Find Many
        • Insert One
        • Insert Many
        • List Records
        • Run Aggregation Pipeline
        • Update One
        • Update by ID
        • Update Many
      • External Nodes
        • Fire Events (SQS)
        • API Call
        • Delete storage objects
        • Execute SubFlow
        • Get Presigned URL
        • Post Presigned URL
        • Send EMAIL (SES)
        • Send SMS (SNS)
      • Loop Nodes
        • For loop
        • While loop
      • Variable Nodes
        • Arrays
          • Append array
          • Contains
          • Check array empty
          • Extend array
          • Get Array Item
          • Length of array
          • Reverse array
          • Sort array
        • Date and Time
          • Set current datetime
        • Strings
          • Append String
          • Concat Strings
          • Convert to String
          • Length of String
          • Slice String
          • Split String
          • String Operations
          • To Lower
          • To Upper
          • Trim String
        • Mathematical
          • Add Variable
          • Complex Math Expr
          • Decrement Variable
          • Divide Variable
          • Increment Variable
          • Multiply Variable
          • Subtract Variable
        • JSON
          • Build JSON Object
          • Merge JSON Objects
          • Object to String
          • Update JSON Object
        • Special
          • Build Map
          • Set Variable
          • Exists Check
    • Node name
    • CQL - Cosmocloud Query Language
      • Building Expressions
        • $abs
        • $add
        • $addDate
        • $arrayElemAt
        • $avg
        • $buildDateTime
        • $buildMap
        • $ceil
        • $cond
        • $divide
        • $floor
        • $getDay
        • $getHour
        • $getMinute
        • $getMonth
        • $getSecond
        • $getYear
        • $ifNull
        • $max
        • $min
        • $mod
        • $multiply
        • $pow
        • $subtract
        • $sqrt
      • Building Conditions
        • Compound Operators
          • $and
          • $or
        • Conditional Operators
          • $eq
          • $gt
          • $gte
          • $lt
          • $lte
          • $neq
      • Magical Autocomplete
  • Advanced Guide
    • Configuring Authentication
      • SSO Providers
        • AWS Cognito
      • Authentication Concepts
    • MongoDB Query Language
      • Limitations
    • Performance Considerations
      • Instant Deployments
  • User Management
  • Billing and Payments
    • Billing Portal
  • Help & Support
  • References
    • Change log
    • Available Cloud & Regions
Powered by GitBook
On this page
  • Select the Type of Secret as Custom
  • Some common use cases for custom secrets include -
  1. Resources
  2. Secrets

Custom Secrets

PreviousSecretsNextDatabases

Last updated 1 year ago

Cosmocloud lets you make custom secrets for any and every use case you might have wherein you want to store sensitive information, anything confidential in terms of key-value pairs.

The process to make a custom secret is pretty simple – Refer to the screenshots below. You can then call your secret using the Secret Name ;)

Select the Type of Secret as Custom

Some common use cases for custom secrets include -

  • Base URL to External Services : This refers to the base URL used by an application to interact with external APIs. Even though a base URL might not be sensitive, but when combined with specific paths or parameters, it can become critical. Keeping this a secret can help prevent misuse or unauthorized access, especially when the base URL is part of a restricted or internal service that should not be widely known.

  • Values in .env Files : Environment variables stored in .env files often include sensitive information such as API keys, configuration settings, and other secrets. These files are crucial for configuring an application’s environment without hard-coding sensitive information into the source code. Values in .env files can control anything from turning on debug modes to API endpoints and should be protected to ensure they are not exposed in source code repositories or through application leaks.

  • SSL/TLS Certificates : Private keys for SSL/TLS certificates ensure secure, encrypted communications over the internet.

  • OAuth Tokens : Used to access resources from third-party services, allowing applications to authenticate and authorize without exposing user passwords.

  • Cloud Provider Credentials : Keys that enable programmatic management of cloud resources, essential for automating operations in cloud environments.

  • Encryption Keys : Employed to encrypt and decrypt data, ensuring that sensitive information is accessible only to authorized parties.

  • Configuration Secrets : Include API endpoints or feature flags that are sensitive; and used to tailor and control application behavior dynamically.

  • Service Account Credentials : Credentials for automated processes that require specific permissions, often with more limited access than user accounts.

  • Payment Gateway API Keys : Enable secure interactions with payment systems to process transactions without exposing sensitive financial details.

  • SSH Keys : Used for secure shell access to servers, crucial for maintaining secure and controlled access to server resources.

  • API Rate Limit Keys : Secrets that manage the rate at which applications can make requests to external APIs to comply with usage policies.

  • Third-Party App Integrations : Tokens or keys that authenticate external applications or services to integrate with primary systems securely.