/** * `BETA` * * Creates a new secret. A maximum of 500 secrets per universe is allowed. Only the owner of the universe can create secrets. For group-owned universes, only the group owner or authorized members can create secrets. To encrypt the secret: 1. Get the public key using the Get Public Key endpoint 2. Encrypt your secret using LibSodium sealed box 3. Base64 encode the encrypted content Include the key_id from the public key response in the request. For an example, see the [Secrets store guide](https://create.roblox.com/docs/cloud/guides/secrets-store). * * **Scopes:** `universe.secret:write` * **Engine:** Not available in-engine * * @param body The secret to create with encrypted content * @param universeId The universe ID */ export declare const postCloudV2UniversesUniverseIdSecrets: import("../..").EndpointGeneric<{ universeId: number; }, { id: string | null; secret: string | null; key_id: string | null; domain: string | null; create_time: string | null; update_time: string | null; }, { id: string | null; secret: string | null; key_id: string | null; domain: string | null; create_time: string | null; update_time: string | null; }>; /** * `BETA` * * Lists all secrets defined for a universe. Secret content is not returned for security reasons - only metadata such as ID, domain, creation and update timestamps are included. Only the owner of the universe can list secrets. For group-owned universes, only the group owner or authorized members can list secrets. * * **Scopes:** `universe.secret:read` * **Engine:** Not available in-engine * * @param universeId The universe ID * @param limit Number of secrets to return per page (1-500, default 10) * @param cursor Pagination cursor from previous response */ export declare const getCloudV2UniversesUniverseIdSecrets: import("../..").EndpointGeneric<{ universeId: number; cursor?: string | undefined; limit?: number | undefined; }, { secrets: { id: string | null; secret: string | null; key_id: string | null; domain: string | null; create_time: string | null; update_time: string | null; }[] | null; nextPageCursor: string | null; previousPageCursor: string | null; }, undefined>; /** * `BETA` * * Updates an existing secret. Only the owner of the universe can update secrets. For group-owned universes, only the group owner or authorized members can update secrets. Only the secret content, key_id, and domain can be updated - the secret ID cannot be changed. To encrypt the updated secret: 1. Get the current public key using the GetPublicKey endpoint 2. Encrypt your new secret content using LibSodium sealed box 3. Base64 encode the encrypted content Include the key_id from the public key response in the request. For an example, see the [Secrets store guide](https://create.roblox.com/docs/cloud/guides/secrets-store). * * **Scopes:** `universe.secret:write` * **Engine:** Not available in-engine * * @param body The updated secret data with encrypted content * @param universeId The universe ID * @param secretId The ID of the secret to update */ export declare const patchCloudV2UniversesUniverseIdSecretsSecretId: import("../..").EndpointGeneric<{ universeId: number; secretId: string; }, { id: string | null; secret: string | null; key_id: string | null; domain: string | null; create_time: string | null; update_time: string | null; }, { id?: string | null | undefined; secret?: string | null | undefined; key_id?: string | null | undefined; domain?: string | null | undefined; create_time?: string | null | undefined; update_time?: string | null | undefined; }>; /** * `BETA` * * Permanently deletes a secret from a universe. Only the owner of the universe can delete secrets. For group-owned universes, only the group owner or authorized members can delete secrets. This operation is irreversible. Make sure you no longer need the secret before deleting it. * * **Scopes:** `universe.secret:write` * **Engine:** Not available in-engine * * @param universeId The universe ID * @param secretId The ID of the secret to delete */ export declare const deleteCloudV2UniversesUniverseIdSecretsSecretId: import("../..").EndpointGeneric<{ universeId: number; secretId: string; }, void, undefined>; /** * `BETA` * * Retrieves the public key for a universe. You need this key to encrypt secret content before sending it to Roblox. Only the owner of the universe can retrieve the public key. For group-owned universes, only the group owner or authorized members can retrieve the public key. The secret id field is static and always returns "public-key". The returned public key in the secret field is universe-specific and derived from a master key using the universe ID. Use this key with LibSodium sealed box encryption to encrypt your secret content before creating or updating secrets. Include the key_id from the public key response in the request to create or update a secret. * * **Scopes:** `universe.secret:read` * **Engine:** Not available in-engine * * @param universeId The universe ID */ export declare const getCloudV2UniversesUniverseIdSecretsPublicKey: import("../..").EndpointGeneric<{ universeId: number; }, { id: string | null; secret: string | null; key_id: string | null; domain: string | null; create_time: string | null; update_time: string | null; }, undefined>;