rozod
    Preparing search index...

    Variable postCloudV2UniversesUniverseIdSecretsConst Api Param Description

    postCloudV2UniversesUniverseIdSecrets: EndpointGeneric<
        { universeId: number },
        {
            create_time: null | string;
            domain: null | string;
            id: null | string;
            key_id: null | string;
            secret: null | string;
            update_time: null | string;
        },
        {
            create_time: null
            | string;
            domain: null | string;
            id: null | string;
            key_id: null | string;
            secret: null | string;
            update_time: null | string;
        },
    > = ...

    POST https://apis.roblox.com/cloud/cloud/v2/universes/:universeId/secrets Create Secret body The secret to create with encrypted content universeId The universe ID 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.