Secret.create. The name is yours to choose; the value is stored encrypted and the response carries metadata only.
Secret names
When creating a secret, its name must contain 1–128 ASCII letters, digits, underscores (_), or hyphens (-), with no whitespace. The API lowercases the name before storing it, so My-Key and my-key identify the same secret. Names may not start with the reserved sec_ prefix, in any capitalization. Invalid names, including names with surrounding whitespace, receive a 400 API error that doesn’t echo the name back. Creating a name that already exists in the project returns 409. Use Secret.update to rotate its value.
Each secret also receives a stable sec_... identifier. Every method that takes a single secret (Secret.getInfo, Secret.exists, Secret.update, and Secret.destroy) accepts either the identifier or the name.