Skip to content

Commit cede298

Browse files
committed
Update 1password vault and item ids for aws and lisa
1 parent 97a4b8a commit cede298

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.20.1 (2024-11-07)
2+
### Fixes
3+
🛠 Fix faulty item id for aws after changing vaults in 1Password.
4+
🛠 Fix faulty item id for lisa after changing vaults in 1Password.
5+
16
## 2.20.0 (2024-11-06)
27
### Fixes
38
🛠 Fix faulty item id after changing vaults in 1Password.
@@ -14,7 +19,7 @@
1419
## 2.17.0 (2024-04-11)
1520
### Features
1621
* feat(wp update): ✨ fast wp update by @chrillep in https://github.com/triggerfishab/lisa-cli/pull/82
17-
22+
g
1823
## 2.16.1 (2024-02-08)
1924
### Features
2025
* feat(wpUpdate): ✨ standardize composer.json settings - minimum-stability, prefer-stable - skip php extensions by @chrillep in https://github.com/triggerfishab/lisa-cli/pull/73

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { checkLisaVersion } from "./lib/versions.js"
2727
import { generateVaultPass } from "./tasks/trellis.js"
2828

2929
export const program = new Command()
30-
export const LISA_VERSION = "2.20.0"
30+
export const LISA_VERSION = "2.20.1"
3131

3232
resetConf()
3333
checkNodeVersion()

lib/1password.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function addCredentialsTo1Password() {
1111
const appName = await getAppName()
1212
const vaultPass = getVaultPass()
1313
const { username, password } = store.get("admin")
14-
const sharedVault = "t2wjn2kns7n6ydxusisd4qwhya"
14+
const sharedVault = "ryviwoy5u66roitf5rb2pc6lze"
1515

1616
try {
1717
await exec(

lib/vault.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function getLisaVaultPass() {
1111
try {
1212
writeInfo("Fetching Lisa Vault Pass from 1Password...")
1313
return await exec(
14-
"op item get wa2cahynsfahjlr3yvitewp4wi --fields label=vault_pass",
14+
"op item get z3vqskkf7vjowsqnulf5aw4hf4 --fields label=vault_pass",
1515
).then((res) => res.stdout.trim())
1616
} catch (error) {
1717
return await askForLisaVaultPass()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triggerfishab/lisa-cli",
3-
"version": "2.20.0",
3+
"version": "2.20.1",
44
"description": "CLI commands to generate a new project based on Lisa",
55
"main": "./index.js",
66
"bin": {

tasks/services/aws.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ async function getBucketRegion(bucketName) {
396396
async function saveAccessKey(accessKeyId, secretAccessKey, fullProjectName) {
397397
try {
398398
return await exec(
399-
`op item create --category login --title ${fullProjectName} 'username=${accessKeyId}' 'secretAccessKey=${secretAccessKey}' --vault g5rjl6vo44f3fnucye7zonybs4`,
399+
`op item create --category login --title ${fullProjectName} 'username=${accessKeyId}' 'secretAccessKey=${secretAccessKey}' --vault sgqdtx2zolsz4rwq7wjnvkmxhy`,
400400
)
401401
} catch (error) {
402402
writeError(`Failed saving access keys to 1Password. \n ${error}`)
@@ -407,7 +407,7 @@ async function saveAccessKey(accessKeyId, secretAccessKey, fullProjectName) {
407407
async function getAWSKeys() {
408408
try {
409409
return await exec(
410-
"op item get l2i57yslyjfr5jsieew4imwxgq --fields label='aws.access key id',label='aws.secret access key',label='aws.canonical user id',label='aws.account id'",
410+
"op item get uhfxs25bmpaqk24fay4wz7qsie --fields label='aws.access key id',label='aws.secret access key',label='aws.canonical user id',label='aws.account id'",
411411
).then((res) => res.stdout.trim().split(","))
412412
} catch (error) {
413413
writeError(`Failed accessing 1Password. \n ${error}`)

0 commit comments

Comments
 (0)