Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Remove DatabricksSecret

Simon D'Morias edited this page Oct 24, 2019 · 1 revision

external help file: azure.databricks.cicd.tools-help.xml Module Name: azure.databricks.cicd.tools online version: schema: 2.0.0

Remove-DatabricksSecret

SYNOPSIS

Delete a Databricks secret.

SYNTAX

Remove-DatabricksSecret [[-BearerToken] <String>] [[-Region] <String>] [-ScopeName] <String>
 [-SecretName] <String> [<CommonParameters>]

DESCRIPTION

Delete a Databricks secret.

EXAMPLES

EXAMPLE 1

Remove-DatabricksSecret -BearerToken $BearerToken -Region $Region -ScopeName "Test1" -SecretName "Test"

This example removes a secret called Test in Scope Test1

PARAMETERS

-BearerToken

Your Databricks Bearer token to authenticate to your workspace (see User Settings in Databricks WebUI)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Region

Azure Region - must match the URL of your Databricks workspace, example northeurope

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ScopeName

Name for the scope - do not include spaces or special characters.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SecretName

Name of the Secret to delete

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Author: Simon D'Morias / Data Thirst Ltd

RELATED LINKS

Clone this wiki locally