|
NAMEs3 plugin - htslib AWS S3 pluginDESCRIPTIONThe S3 plugin allows htslib file functions to communicate with servers that use the AWS S3 protocol. Files are identified by their bucket and object key in a URL format e.g.s3://mybucket/path/to/file With path/to/file being the object key. Necessary security information can be provided in as part of the URL, in environment variables or from configuration files. The full URL format is: s3[+SCHEME]://[ID[:SECRET[:TOKEN]]@]BUCKET/PATH The elements are:
The environment variables below will be used if the user ID is not set.
In the absence of an ID from the previous two methods the credential/config files will be used. The default file locations are either ~/.aws/credentials or ~/.s3cfg (in that order). Entries used in aws style credentials file are aws_access_key_id, aws_secret_access_key, aws_session_token, region and addressing_style. Only the first two are usually needed. Entries used in s3cmd style config files are access_key, secret_key, access_token, host_base, bucket_location and host_bucket. Again only the first two are usually needed. The host_bucket option is only used to set a path-style URL, see below. NOTESIn most cases this plugin transforms the given URL into a virtual host-style format e.g. https://bucket.host/path/to/file. A path-style format is used where the URL is not DNS compliant or the bucket name contains a dot e.g. https://host/bu.cket/path/to/file.Path-style can be forced by setting one either HTS_S3_ADDRESS_STYLE, addressing_style or host_bucket. The first two can be set to path while host_bucket must not include the %(bucket).s string. SEE ALSOhtsfile(1) samtools(1)htslib website: <http://www.htslib.org/>
Visit the GSP FreeBSD Man Page Interface. |