* Copy the service account credentials received from GCP into a file name `key.json`.
* Create an Object Storage secret with keys `bucketname` and `key.json` as follows:
```console
kubectl create secret generic test \
kubectl create secret generic lokistack-dev-gcs \
--from-literal=bucketname="<BUCKET_NAME>" \
--from-file=key.json="<PATH/TO/KEY.JSON>"
```
where `test` is the secret name, `<BUCKET_NAME>` is the name of bucket created in requirements step and `<PATH/TO/KEY.JSON>` is the file path where the `key.json` was copied to.
where `lokistack-dev-gcs` is the secret name, `<BUCKET_NAME>` is the name of bucket created in requirements step and `<PATH/TO/KEY.JSON>` is the file path where the `key.json` was copied to.
* Create an instance of [lokistack](../hack/lokistack_dev.yaml) by referencing the secret name and type as `gcs`:
* Create an instance of [LokiStack](../hack/lokistack_dev.yaml) by referencing the secret name and type as `gcs`:
```yaml
spec:
storage:
secret:
name: test
name: lokistack-dev-gcs
type: gcs
```
## Minio
Coming soon.
### Requirements
* Deploy Minio on your Cluster, e.g. using the [Minio Operator](https://operator.min.io/)
* Create a [bucket](https://docs.min.io/docs/minio-client-complete-guide.html) on Minio via CLI.
### Installation
## OpenShift Data Foundation
* Deploy the Loki Operator to your cluster.
* Create an Object Storage secret with keys as follows:
where `lokistack-dev-odf` is the secret name. You can copy the values for `BUCKET_NAME`, `ACCESS_KEY_ID` and `ACCESS_KEY_SECRET` from your ObjectBucketClaim's accompanied secret.
* Create an instance of [LokiStack](../hack/lokistack_dev.yaml) by referencing the secret name and type as `s3`:
```yaml
spec:
storage:
secret:
name: lokistack-dev-odf
type: s3
```
Coming soon.
## Swift
### Requirements
* Create a [bucket](https://docs.openstack.org/newton/user-guide/cli-swift-create-containers.html) on Swift.
### Installation
* Deploy the Loki Operator to your cluster.
* Create an Object Storage secret with keys as follows: