Home > @hapoosjs/api-buckets > Buckets > getEncryption
Get encryption configuration for a bucket
Signature:
getEncryption(bucketName: string): Promise<EncryptionSettings>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Bucket name |
Returns:
Promise<EncryptionSettings>
Encryption configuration if it is on, null otherwise