Home > @hapoosjs/api-buckets > Buckets > getEncryption

Buckets.getEncryption() method

Get encryption configuration for a bucket

Signature:

getEncryption(bucketName: string): Promise<EncryptionSettings>;

Parameters

Parameter Type Description
bucketName string Bucket name

Returns:

Promise<EncryptionSettings>

Encryption configuration if it is on, null otherwise