Method: listBuckets

listBuckets

The listBuckets method returns an array of bucket names associated with the api key's account.

Example of usage:

const buckets = await fleekStorage.listBuckets({
apiKey: 'my-key',
apiSecret: 'my-secret',
})

Input parameters of listBuckets

paramtypedescription
apiKeyStringThe api key used for authentication
apiSecretStringThe api secret used for authentication