< Back

Remove-DatabricksSecret

Sat Jan 11, 2020 10:05 am

NAME Remove-DatabricksSecret



SYNOPSIS

Delete a Databricks secret.





SYNTAX

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

<String> [<CommonParameters>]





DESCRIPTION

Delete a Databricks secret.





PARAMETERS

-BearerToken <String>

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



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Region <String>

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



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ScopeName <String>

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



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SecretName <String>

Name of the Secret to delete



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Simon D'Morias / Data Thirst Ltd



-------------------------- EXAMPLE 1 --------------------------



C:\\PS>Remove-DatabricksSecret -BearerToken $BearerToken -Region $Region -ScopeName "Test1" -SecretName "Test"



This example removes a secret called Test in Scope Test1











RELATED LINKS