--- title: "Get-VBOEncryptionKey" description: "This cmdlet returns an array of encryption keys for object storage repositories." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/get-vboencryptionkey.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Backup Infrastructure > Object Storage Encryption > Get-VBOEncryptionKey" dateModified: "2026-09-01" --- # Get-VBOEncryptionKey ## Short Description Returns encryption keys. ## Syntax ``` Get-VBOEncryptionKey [-Id ] [-Description ] [] ``` ## Detailed Description This cmdlet returns an array of encryption keys for object storage repositories. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Description

Specifies a description of the encryption key. The cmdlet will return the encryption key with this description.

Note: To filter objects, you can use * and ? wildcard characters.

String

False

Named

False

Id

Specifies an ID of the encryption key. The cmdlet will return the encryption key with this ID.

Guid

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Output Object The cmdlet returns the [`VBOEncryptionKey`](vboencryptionkey.md) object that contains settings of an encryption key. ## Examples ::: example ### Example 1: Getting All Encryption Keys This command returns all encryption keys managed by Veeam Backup for Microsoft 365. ``` Get-VBOEncryptionKey ``` ::: ::: example ### Example 2: Getting Encryption Keys with Specified ID This command returns the `8657138e-ca49-4f91-a8ec-a17818eb818e` encryption key. ``` Get-VBOEncryptionKey -Id 8657138e-ca49-4f91-a8ec-a17818eb818e ``` ::: ::: example ### Example 3: Getting Encryption Keys with Specified Description This command returns all encryption keys with the specified description. ``` Get-VBOEncryptionKey -Description "Veeam Admin Key" ``` :::