Skip to content

Commit eb86742

Browse files
authored
Merge pull request #2 from vNugglets/feat_DevvyThings
🏗️ Add devcontainer def, dependabot def
2 parents c510d43 + a1f2c6a commit eb86742

File tree

3 files changed

+44
-6
lines changed

3 files changed

+44
-6
lines changed

.devcontainer/devcontainer.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "Universal with PowerShell",
3+
"image": "mcr.microsoft.com/devcontainers/universal:latest",
4+
"features": {
5+
"ghcr.io/devcontainers/features/powershell:latest": {
6+
"version": "latest",
7+
"modules": "posh-git" // posh-git is a a great module for git-related prompt displays
8+
}
9+
},
10+
"customizations": {
11+
"vscode": {
12+
"settings": {
13+
// default to using PowerShell as the shell
14+
"terminal.integrated.defaultProfile.linux": "pwsh",
15+
"editor.wordWrap": "on"
16+
}
17+
}
18+
},
19+
// add posh-git to the PowerShell profile
20+
"postCreateCommand": "pwsh -Command 'Add-PoshGitToProfile'"
21+
}

.github/dependabot.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 5

ReadMe.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,27 @@ Herein is a PowerShell module that simplifies getting accounts, roles, and crede
77
Simplify the creation of AWS credentials to SSO accounts/roles that an identity is entitled via AWS SSO Identity Center.
88

99
## Quick Start
10-
To import this module
10+
### Prerequisite Modules
11+
If you don't already have available the two AWS SSO* modules, install them right quick:
12+
```powershell
13+
Install-PSResource AWS.Tools.SSO, AWS.Tools.SSOOIDC
14+
```
15+
16+
### Install _this_ Module
17+
To install this module:
1118
1. Save or install the module from the PowerShell Gallery:
1219
```powershell
1320
## save it locally for initial inspection -- safety first!
14-
Find-Module vN.AWSSSO | Save-Module -Path C:\Temp
15-
## ..then inspect code to confirm trustworthiness
21+
Find-PSResource vN.AWSSSO | Save-PSResource -Path C:\Temp
22+
## ..then inspect code to confirm trustworthiness, then import it from said saved path
23+
24+
## orrr, YOLO! Install straight away, as vNugglets is a reputable publisher
25+
Find-PSResource vN.AWSSSO | Install-PSResource
1626
17-
## orrr, install straight away, as vNugglets is a reputable publisher
18-
Find-Module vN.AWSSSO | Install-Module
27+
## see the commands in the now-imported/installed module:
28+
Get-Command -Module vN.AWSSSO
1929
```
20-
1. Profit (see examples in [How](#how) section below)
30+
1. Profit (see Default Parameter setting below, or examples in [How](#how) section)
2131
2232
### And, handy default value for Parameter
2333
To simplify even further the getting of temporary credentials from AWS for accounts/roles, we can make a default value for the `-StartUrl` parameter of `New-VNAWSSSOOIDCTokenViaDeviceCode`:

0 commit comments

Comments
 (0)