This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# ----------------------- | |
# | |
# This is a script that installs docker-ce (Docker Community Edition) on Debian 9 | |
# Inspired by https://gist.github.com/frgomes/a6f889583860f5b330c06c8b46fa0f42 | |
# | |
# ----------------------- | |
# Pre-requesite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Grants (or removes) application permissions (app role assignments) to a client application. | |
.PARAMETER ClientId | |
The AppId or one of the ServicePrincipalNames of the client service principal. | |
.PARAMETER Permissions | |
A hashtable where the key is an identifier for the resource (either the AppId or one of the | |
ServicePrincipalNames) and the value is the space-separated list of app roles desired. |