Skip to content

Commit

Permalink
examples: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Oct 16, 2023
1 parent 4c3c1d7 commit 5189a1a
Show file tree
Hide file tree
Showing 12 changed files with 96 additions and 12 deletions.
20 changes: 19 additions & 1 deletion examples/rrsa/aliyuncli-demo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# aliyun cli demo

## Usage
config.json:

```
{
"current": "default",
"profiles": [
{
"name": "default",
"mode": "External",
"region_id": "cn-hangzhou",
"process_command": "ack-ram-tool export-credentials --ignore-aliyun-cli-credentials --log-level=ERROR",
"credentials_uri": ""
}
],
"meta_path": ""
}
```

## Demo

1. Enable RRSA:

Expand Down
7 changes: 6 additions & 1 deletion examples/rrsa/aliyunlogcli-demo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# aliyunlog cli demo

## Usage
```
ack-ram-tool export-credentials --format=environment-variables -- \
aliyunlog log list_project --region-endpoint=cn-hangzhou.log.aliyuncs.com
```

## Demo

1. Enable RRSA:

Expand Down
2 changes: 1 addition & 1 deletion examples/rrsa/cpp-demo/cpp-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cpp-sdk

## Usage
## Demo

1. Enable RRSA:

Expand Down
9 changes: 8 additions & 1 deletion examples/rrsa/go-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

Using [Alibaba Could Go SDK](https://github.com/aliyun/alibabacloud-go-sdk) with RRSA Auth.

## Usage
```
go get github.com/aliyun/[email protected]
```

https://github.com/aliyun/credentials-go


## Demo

1. Enable RRSA:

Expand Down
12 changes: 11 additions & 1 deletion examples/rrsa/java-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@

Using [Alibaba Could Java SDK](https://github.com/aliyun/alibabacloud-java-sdk) with RRSA Auth.

```
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>credentials-java</artifactId>
<version>0.2.12</version>
</dependency>
```

https://github.com/aliyun/credentials-java


## Usage
## Demo

1. Enable RRSA:

Expand Down
2 changes: 1 addition & 1 deletion examples/rrsa/kaniko-in-ack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Running kaniko in ACK:
* build image with kaniko
* push image to the ACR with RRSA Auth

## Usage
## Demo

1. Enable RRSA:

Expand Down
3 changes: 2 additions & 1 deletion examples/rrsa/log-go-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

Using [aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk) with RRSA Auth.

## Usage

## Demo

1. Enable RRSA:

Expand Down
13 changes: 12 additions & 1 deletion examples/rrsa/log-java-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@

Using [aliyun-log-java-sdk](https://github.com/aliyun/aliyun-log-java-sdk) with RRSA Auth.

## Usage
```
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>credentials-java</artifactId>
<version>0.2.12</version>
</dependency>
```

https://github.com/aliyun/credentials-java


## Demo

1. Enable RRSA:

Expand Down
9 changes: 8 additions & 1 deletion examples/rrsa/nodejs-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

Using [Alibaba Could Node.js/TypeScript SDK](https://github.com/aliyun/alibabacloud-typescript-sdk) with RRSA Auth.

## Usage
```
npm install @alicloud/credentials
```

https://github.com/aliyun/credentials-nodejs


## Demo

1. Enable RRSA:

Expand Down
9 changes: 8 additions & 1 deletion examples/rrsa/oss-go-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

Using [aliyun-oss-go-sdk](https://github.com/aliyun/aliyun-oss-go-sdk) with RRSA Auth.

## Usage
```
go get github.com/aliyun/[email protected]
```

https://github.com/aliyun/credentials-go


## Demo

1. Enable RRSA:

Expand Down
13 changes: 12 additions & 1 deletion examples/rrsa/oss-java-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@

Using [aliyun-oss-java-sdk](https://github.com/aliyun/aliyun-oss-java-sdk) with RRSA Auth.

## Usage
```
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>credentials-java</artifactId>
<version>0.2.12</version>
</dependency>
```

https://github.com/aliyun/credentials-java


## Demo

1. Enable RRSA:

Expand Down
9 changes: 8 additions & 1 deletion examples/rrsa/python3-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

Using [Alibaba Could Python 3 SDK](https://github.com/aliyun/alibabacloud-python-sdk) with RRSA Auth.

## Usage
```
pip install alibabacloud_credentials>=0.3.1
```

https://github.com/aliyun/credentials-python


## Demo

1. Enable RRSA:

Expand Down

0 comments on commit 5189a1a

Please sign in to comment.