How to use @cloudbase/manager-node - 3 common examples

To help you get started, we’ve selected a few @cloudbase/manager-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TencentCloudBase / cloudbase-cli / src / hosting.ts View on Github external
async function getStorageService(envId: string): Promise {
    const { secretId, secretKey, token } = await checkAndGetCredential()
    const app = new CloudBase({
        secretId,
        secretKey,
        token,
        envId,
        proxy: getProxy()
    })
    return app.storage
}
github TencentCloudBase / cloudbase-cli / src / commands / storage.ts View on Github external
async function getStorageService(envId: string): Promise {
    const { secretId, secretKey, token } = await checkAndGetCredential()
    const app = new CloudBase({
        secretId,
        secretKey,
        token,
        envId,
        proxy: getProxy()
    })
    return app.storage
}
github TencentCloudBase / cloudbase-cli / src / storage.ts View on Github external
async function getStorageService(envId: string): Promise {
    const { secretId, secretKey, token } = await checkAndGetCredential()
    const app = new CloudBase({
        secretId,
        secretKey,
        token,
        envId,
        proxy: getProxy()
    })
    return app.storage
}

@cloudbase/manager-node

The node manage service api for cloudbase.

ISC
Latest version published 3 months ago

Package Health Score

59 / 100
Full package analysis

Popular @cloudbase/manager-node functions

Similar packages