Class S3ArtifactCredentials

    • Field Detail

      • CREDENTIALS_TYPE

        public static final java.lang.String CREDENTIALS_TYPE
        See Also:
        Constant Field Values
    • Method Detail

      • download

        public java.io.InputStream download​(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact)
                                     throws java.lang.IllegalArgumentException
        Description copied from interface: ArtifactCredentials
        Download the specified artifact
        Specified by:
        download in interface ArtifactCredentials
        Returns:
        a stream containing the contents of artifact. It is the caller's responsibility to close this stream as soon as possible.
        Throws:
        java.lang.IllegalArgumentException
      • getType

        public java.lang.String getType()
        Specified by:
        getType in interface com.netflix.spinnaker.credentials.Credentials