Skip to main content
Google Cloud Documentation
技术领域
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 行业解决方案
  • 迁移
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
跨产品工具
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • SDK、语言、框架和工具
/
Console
  • English
  • 中文 – 简体
  • Secret Manager
免费开始使用吧
概览 指南 资源 参考文档 示例
Google Cloud Documentation
  • 技术领域
    • More
    • 概览
    • 指南
    • 资源
    • 参考文档
    • 示例
  • 跨产品工具
    • More
  • Console
  • 参考文件
  • 客户端库
  • REST 参考文档
    • Overview
    • v1
      • REST 资源
      • projects.locations
        • 概览
        • get
        • list
      • projects.locations.secrets
        • 概览
        • addVersion
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.locations.secrets.versions
        • 概览
        • 访问权限
        • 销毁
        • 停用
        • 启用
        • get
        • list
      • projects.secrets
        • 概览
        • addVersion
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.secrets.versions
        • 概览
        • 访问权限
        • 销毁
        • 停用
        • 启用
        • get
        • list
      • 类型
      • AccessSecretVersionResponse
      • ListSecretVersionsResponse
      • ListSecretsResponse
      • SecretPayload
    • v1beta1
      • REST 资源
      • projects.locations
        • 概览
        • get
        • list
      • projects.secrets
        • 概览
        • addVersion
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.secrets.versions
        • 概览
        • 访问权限
        • 销毁
        • 停用
        • 启用
        • get
        • list
      • 类型
      • SecretPayload
    • 共享类型
      • 类型
      • AuditConfig
      • 绑定
      • GetIamPolicyRequest
      • GetLocationRequest
      • ListLocationsRequest
      • ListLocationsResponse
      • LogType
      • 政策
      • SetIamPolicyRequest
      • TestIamPermissionsRequest
      • TestIamPermissionsResponse
  • RPC 参考文档
    • 概览
    • google.cloud.location
    • google.cloud.secretmanager.v1
    • google.cloud.secrets.v1beta1
    • google.iam.v1
    • google.type
  • gcloud CLI
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 行业解决方案
  • 迁移
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • SDK、语言、框架和工具
  • Home
  • Documentation
  • Security
  • Secret Manager
  • 参考文档

SecretPayload Stay organized with collections Save and categorize content based on your preferences.

  • JSON representation

A secret payload resource in the Secret Manager API. This contains the sensitive secret data that is associated with a SecretVersion.

JSON representation
{
  "data": string
}
Fields
data

string (bytes format)

The secret data. Must be no larger than 64KiB.

A base64-encoded string.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-14 UTC.

  • Support

    • Release Notes
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
  • Terms
  • Privacy
  • Manage cookies
  • English
  • 中文 – 简体