Skip to content

Commit

Permalink
modify aws credentials text field type to password (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshCasper authored Apr 3, 2024
1 parent af5c499 commit c1abeba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions aws-replicator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ localstack extensions install "git+https://github.com/localstack/localstack-exte

## Change Log

* `0.1.12`: Modify aws credentials text field type to password
* `0.1.11`: Fix broken imports after recent upstream CloudFormation changes
* `0.1.10`: Add `REPLICATOR_PROXY_DOCKER_FLAGS` option to pass custom flags to proxy Docker containers
* `0.1.9`: Enhance proxy networking and add `REPLICATOR_LOCALSTACK_HOST` config option
Expand Down
12 changes: 6 additions & 6 deletions aws-replicator/aws_replicator/server/ui/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ const App = () => {
</TableRow>
<TableRow sx={{'&:last-child td, &:last-child th': {border: 0}}}>
<TableCell component="th" scope="row">AWS Credentials:</TableCell>
<TableCell sx={{width: "80%"}}>
<TextField value={accessKey} onChange={(e) => setAccessKey(e.target.value)} size="small" style={{width: "32%"}} placeholder="AWS_ACCESS_KEY_ID" /> {" "}
<TextField value={secretKey} onChange={(e) => setSecretKey(e.target.value)} size="small" style={{width: "32%"}} placeholder="AWS_SECRET_ACCESS_KEY" /> {" "}
<TextField value={sessionToken} onChange={(e) => setSessionToken(e.target.value)} size="small" style={{width: "32%"}} placeholder="AWS_SESSION_TOKEN" />
Please note: AWS credentials are only passed in-memory to the LocalStack container and will <b>not</b> be persisted on disk. For security reasons, please make sure to use scoped credentials with the least set of required permissions (ideally read-only).
</TableCell>
<TableCell sx={{ width: "80%" }}>
<TextField type="password" value={accessKey} onChange={(e) => setAccessKey(e.target.value)} size="small" style={{ width: "32%" }} placeholder="AWS_ACCESS_KEY_ID" /> {" "}
<TextField type="password" value={secretKey} onChange={(e) => setSecretKey(e.target.value)} size="small" style={{ width: "32%" }} placeholder="AWS_SECRET_ACCESS_KEY" /> {" "}
<TextField type="password" value={sessionToken} onChange={(e) => setSessionToken(e.target.value)} size="small" style={{ width: "32%" }} placeholder="AWS_SESSION_TOKEN" />
Please note: AWS credentials are only passed in-memory to the LocalStack container and will <b>not</b> be persisted on disk. For security reasons, please make sure to use scoped credentials with the least set of required permissions (ideally read-only).
</TableCell>
</TableRow>
<TableRow sx={{'&:last-child td, &:last-child th': {border: 0}}}>
<TableCell component="th" scope="row">
Expand Down
2 changes: 1 addition & 1 deletion aws-replicator/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = localstack-extension-aws-replicator
version = 0.1.11
version = 0.1.12
summary = LocalStack Extension: AWS replicator
description = Replicate AWS resources into your LocalStack instance
long_description = file: README.md
Expand Down

0 comments on commit c1abeba

Please sign in to comment.